home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 / Ham Radio 2000.iso / ham2000 / tcp_ip / jnos / docs110 / readme.now < prev    next >
Text File  |  1994-02-28  |  156KB  |  3,787 lines

  1. This is a  *brief* description of the mods i've made in JNOS.
  2.  
  3. ***************************************************************
  4. * If you use JNOS, I would appreciate if you drop me a note.  *
  5. * I am particularly interested in non-U.S. users, as I would  *
  6. * like to compile a list of countries where JNOS is in use.   *
  7. * You can send this to on of the addresses listed below.      *
  8. * Thanks in advance !                                         *
  9. ***************************************************************
  10.  
  11.  
  12. Every once in a while, I 'feel the pressure rising' when I come out with
  13. a new version. At the release of 1.10x3, this happened again. It lead me to
  14. send out an email message with the following content. Since the message is
  15. a general statement, I have included it here for future reference by you,
  16. the user, and you, the programmer/contributor, and for both of you as a
  17. contributor to the cooperative success of jnos 8-}
  18.  
  19. On or about June 27, 1993, I wrote:
  20. "
  21. I sense a slow build-up of frustration and pressure on the mailing
  22. list after the release of 1.10x3. I want to stop this right at the
  23. start, and not let it grow into some huge monster.  8-}
  24. The following is not intended at anyone personally; take or leave it
  25. as you feel appropriate...
  26.  
  27. First of all, for those that have a hard time understanding why I do not
  28. respond quickly or not at all lately, get a grip: As I have said
  29. before, this is a Hobby for me ! Even though I like programming, and
  30. get professionally paid to do so, that doesn't mean it is all
  31. I do in my spare time. As a matter of fact, it is not even very high on
  32. the list currently. This is Summer time !!! and I like to enjoy time out
  33. with my roommates, friends, my sister who's visiting from Holland, up until
  34. a week ago my girlfriend (who's in Central Am. now), do some camping,
  35. mountaineering, mountain bike and lots more...
  36. I have been very careful to read every single message i get, and incorporate
  37. as many of the fixes that get mailed or ftp'd in. All this takes time,
  38. and most often replying to mail is what I cut out...
  39.  
  40. Next, when you pick up new sources, and start compiling, be aware of several
  41. things:
  42.  
  43. * first and foremost, you did not pay any of the large number of developers
  44.   anything. Thus, you should not expect fulltime support; you should not expect
  45.   anything. You should be happy with the kind of feedback you can get from the
  46.   nos-bbs list, other local users and programmers, and the little support I
  47.   give whenever possible...But basically you should expext to be on your own
  48.   (with maybe other tcp-ers in your area).
  49.  
  50. * with the above goes that if you are not a reasonable C programmer, and do not
  51.   understand the intricaties of the software tools you are using, don't start
  52.   spouting at the developers. If you don't understand how makefiles work, rt?m,
  53.   but don't come complaining...If you use a configuration that causes problems, see
  54.   see the paragraph above... Etc.
  55.  
  56. * read the paragraph in the README.NOW on the new version naming convention
  57.   I started with 1.10x1 ! Realize what this means; ie. that most likely many
  58.   things are not going to work correctly if the code is an X version.
  59.   Then decide if you are ready to be a constructive supportor of new code.
  60.   If so, read the above two paragraphs; if not, don't play with new stuff...
  61.  
  62. * If you decide to send a question or complaint to me or the nos-bbs list,
  63.   be possitive and constructive in your tone of writing; it goes a Lot Farther
  64.   then a b.... and complain session. I think the nos-bbs list offers a
  65.   wonderful platform for questions and answers, and is a great medium to toy
  66.   with ideas, as long as people enjoy doing that. Possitive tones and feedback
  67.   ensure that. The same goes for me personally. And also, read the first
  68.   paragraph above :-)
  69.  
  70. Haven gotten that of my back, I feel better now :-)
  71.  
  72. " (end insert)
  73.  
  74.  
  75.  
  76. OBJECTIVE:
  77.  
  78. The objective of this code is the improve the use and features of NOS.
  79. A lot of the work is done through cooperative discussion and testing
  80. among the subscribers of the Internet maillist 'nos-bbs@hydra.carleton.ca'
  81. (to subscribe, send mail to 'nos-bbs-request@hydra.carleton.ca')
  82. A lot of new stuff comes from code fragments or suggestions contributed by
  83. people on that maillist, most of wich are avid users of the code.
  84. This code is a continuously developing piece of work, and as such, it should
  85. be seen as a BETA software, no matter whether it is indicated as such or not.
  86. You should not expect this to be a 'plug and play' solution to tcp/ip over
  87. packet radio. If you experience problems, feel free to contribute
  88. 'constructive' critisism to the author or the discussion group.
  89.  
  90.  
  91.  
  92. VERSION NAMING CONVENTIONS:
  93.  
  94. JNOS cycles through three identifyable stages as source code is being
  95. put out. Code goes from testing stage (aka. beta code), to somewhat
  96. stable released code, to maintenance/bugfix updates. Note that the
  97. OBJECTIVE above still applies to ALL code being released,
  98. whether it is identified as beta, release or bugfix...!
  99.  
  100. As of v1.10, there is a 'new' version naming scheme.
  101.  
  102. 1) eXperimental code put out by me will be a version number with 'x#' added.
  103.    'x' stands for eXperimenting, and # is the number of test release.
  104.    This will be the first step toward a new 'release'
  105.  
  106.    Eg:  JNOS 1.10x1 is the first test release for version 1.10 .
  107.  
  108.  
  109. 2) When an 'x' version seems stable, I might decide to put it out as a
  110.    'released' version. This is the time the 'general public' jumps on it :-)
  111.    This version will drop the 'x#' designation.
  112.    At this time I will have at least one executable available, and the full
  113.    source set. The source set will be versionname.ZIP,
  114.    and the executable versionname.EXE . The executable might be a self
  115.    extracting exe with some miniscule docs etc...
  116.  
  117.    Eg: JNOS 1.10 is the 'official release' version of 1.10
  118.        JNOS110.ZIP is the source set, and
  119.        JNOS110.EXE is the executable.
  120.  
  121. 3) As bugs are found after step 2, bugfix/maintenance updates will be numbered
  122.    with the version name plus a single letters added. (Using x for experimental
  123.    should be okay, as long as we don't get many bugfixes... :-) )
  124.  
  125.    Eg. JNOS 1.10a is the first bugfix after the release of version 1.10
  126.  
  127.  
  128. I strongly advise everyone that makes mods to use the same base version number,
  129. INCLUDING experimentation or bugfix suffixes, with a personal extension.
  130. This allows others to see what your base code was.
  131. Eg. JNOS 1.10x3-Mods
  132.  
  133. If you send bugfixes and mods to the nos-bbs list or me, they will most
  134. often get put into the next release...
  135.  
  136.  
  137.  
  138.  
  139. COMPILER:
  140.  
  141. Starting with 1.08, I use Borland C++ 3.1 for all executables i distribute.
  142. In the makefile, you have the option of compiling with TC2.0, BC++2.0,
  143. BC++3.1, or BC++ 4.0 . You can also choose the cpu to compile for (see note!)
  144.  
  145. *** NOTES *** :
  146. I DO NOT GUARANTEE the code will compile without glitches with other compilers,
  147. although an effort has been made to keep things compatible with TC2.0 and BC2.
  148. Also, I only compile for 8086 ! Any other cpu is NOT tested !
  149. (Although I have compiled 1.10 for the 80386, and a cursory test seems okay)
  150.  
  151. If you choose the TC2.0 compiler, be aware that there is one function
  152. that doesn't exist in the TC2.0 library. This is the mktime() call.
  153. There is a substitute in expire.c, but it is NOT 100% accurate. Ie. times
  154. converted and used by the expire code will be off by a few hours...
  155. You also have to tone down the config.h file, since you are likely to run out
  156. of DGROUP space. TC2.0 doesn't allow for other segments to be used (the -Ff=x
  157. option in BC++2.0 and above).
  158.  
  159. If you use an older version of Borland's TASM.EXE assembler, it might choke
  160. on line 2 in asmgloba.h : '.MODEL USE16 LARGE,C'. Simply remove the 'USE16'
  161. to solve this problem.
  162.  
  163. Please also refer to the FAQ, mentioned above, for more info on compiling
  164. the code.
  165.  
  166.  
  167. CONFIG.H:
  168.  
  169. There are several different configurations in the source archive.
  170. I also DO NOT GUARANTEE that other variations of config.h work. It is
  171. impossible to test all different configurations possible with the many
  172. options in config.h. Thus there might be certain combinations that result
  173. in either compiler or linker errors...Find someone with good C and NOS
  174. programming knowledge :-) ...
  175.  
  176. Also, I only compile for 8086 ! Any other cpu is NOT tested !
  177.  
  178. distconf.h - used to create the distribution executable (8086 code)
  179. bbsconf.h  - as I run it on my bbs system. (WG7J.OR.USA.NA)
  180. gwconfig.h - as I run it on my Internet gateway system (wg7j.ece.orst.edu)
  181. users.h    - end-user, with serial port and scc drivers, but no bbs options
  182.  
  183.  
  184.  
  185. MAIL INDEX FILES:
  186.  
  187. ==> As of 1.10x15, JNOS now senses index file status at startup and after
  188.     returning from shells. Index files for changed mailbox files will be
  189.     automatically updated at this time.!
  190.     This means you can now use ANY EXERNAL MAILER !!!
  191.  
  192. As of version 1.10x3, JNOS stores an index file for each mail *.TXT file.
  193. This drastically speeds up switching of areas, and listing of mail headers.
  194.  
  195. As of version 1.10x10, the format of the index files have changed. They are
  196. now variable length binary records. See index.h for the content of the record.
  197. (The indexfiles are now named *.IND)
  198.  
  199. As a side effect, there is no limit anymore to the number of messages held
  200. in a mailbox. This now is only limited by system memory :-)
  201.  
  202. Manual manipulation of index files is NOT advised !!!
  203.  
  204.  
  205.  
  206. DOCUMENTATION:
  207.  
  208. All PA0GRI specific commands can be found is his nos_1229.man .
  209. As of v1.00 I have written a hopefully more comprehensive document
  210. describing how to use the mods. Some of that is aimed at running
  211. this code as a fullservice BBS, as i do at wg7j.or.usa.na
  212. This can all be found in wg7jmods.txt in the archive wg7jdoc.zip
  213. (last updated for 1.05 ! See this file for 1.06...)
  214.  
  215. The latest docs files are docs106.zip. An effort is currently
  216. underway by Doug Thompson, WG0B, to provide documentation for
  217. JNOS 1.10 when it is released...
  218.  
  219.  
  220. SOURCES:
  221.  
  222. If you obtained sources, feel free to do with them as you please,
  223. as long as you keep and obide the copyrights in the different source modules!
  224. If you add substantial stuff to the code, please modify the version string
  225. in version.c to reflect this. (So i won't have to answer tons of questions
  226. about stuff i didn't write)
  227.  
  228. Latest sources can be obtained on Internet by anonymous ftp from among others:
  229.  
  230. ftp.ece.orst.edu in pub/ham/wg7j
  231. ftp.cs.tamu.edu in /pub/hamradio/NOS/wg7j
  232. vangel.npt.nuwc.navy.mil
  233.  
  234. They can also be found on several phone bbs systems, often shortly after
  235. the release date.  Here are some to try (all in the U.S.A.):
  236.  
  237.         N8EMR's Ham BBS (614) 895-2553
  238.         ChowdaNet       (401) 331-0334
  239.  
  240. NOTE: Due to large workload, I no longer will send you sources!!!
  241.  
  242. If you add/modify anything that might be useful to others, I would
  243. appreciate the mods, to possibly add to the code.
  244.  
  245.  
  246.  
  247. MY ADDRESS:
  248.  
  249.         As always,
  250.         questions, remarks, and suggestions
  251.         are welcome.
  252.  
  253.         Johan Reinalda, WG7J/PA3DIS
  254.         420 NW 9th
  255.         Corvallis, OR 97330
  256.         U.S.A.
  257.  
  258.         email: johan@ece.orst.edu
  259.         (or the sloooower WG7J@WA7TAS.OR.USA.NA via packet)
  260.  
  261.  
  262.  
  263. THE LAST WORD:
  264.  
  265. "Definitive is the source, not this note :-)"
  266.  
  267.  
  268.  
  269. HINT HINT HINT HINT :
  270.  
  271. if you are experiencing problems receiving with certain tnc's with this
  272. code, set the dtr and rts parameters correctly
  273. 'param <iface> dtr 1' and 'param <iface> rts 1'
  274. (this is due to a rewrite of the original 8250 drivers
  275.  in KA9Q 911218 and later)
  276.  
  277.  
  278. FTPUSERS PERMISSIONS:
  279.  
  280. Name:        value     (hex)
  281. FTP_READ        1       0x1             /* Read files */
  282. FTP_CREATE      2       0x2             /* Create new files */
  283. FTP_WRITE       4       0x4             /* Overwrite or delete existing files */
  284. AX25_CMD        8       0x8             /* AX.25 gateway operation allowed */
  285. TELNET_CMD      16      0x10            /* Telnet gateway operation allowed */
  286. NETROM_CMD      32      0x20            /* NET/ROM gateway operation allowed */
  287. SYSOP_CMD       64      0x40            /* Remote sysop access allowed */
  288. EXCLUDED_CMD    128     0x80            /* This user is banned from the BBS */
  289. /* 256 and 512 are used in PPP*/
  290. NO_SENDCMD      1024    0x400           /* Disallow send command */
  291. NO_READCMD      2048    0x800           /* Disallow read command */
  292. NO_3PARTY       4096    0x1000          /* Disallow third-party mail */
  293. IS_BBS          8192    0x2000          /* This user is a bbs */
  294. IS_EXPERT       16384   0x4000          /* This user is an expert */
  295. NO_CONVERS      32768   0x8000          /* Disallow convers command */
  296. NO_ESCAPE       65536   0x10000         /* Default is no escape char */
  297. NO_LISTS        131072  0x20000         /* No lists displayed from mailbox */
  298. NO_LINKEDTO     262144  0x40000         /* disable '*** linked to' */
  299.  
  300. To set options, simply add values. Format in /ftpusers file is:
  301. name password /rootdir #perm
  302.  
  303. password can be a *, then any password is allowed.
  304. if name is "univperm", then any name not found otherwise in the ftpusers file
  305. will be treated as if it was "univperm". If password is set, this password
  306. needs to be used. Eg:
  307. univperm * /public 132103
  308.  
  309. gives anyone not otherwize know login permission, but no ax.25, netrom, lists
  310. etc. and also ftp downloads are allowed...
  311.  
  312.  
  313.  
  314. ERRORS IN NOS:
  315.  
  316. Here is the long awaited list of error numbers used in nos!
  317. The numbers listed are directly from the sources (socket.h),
  318. and when appropriate, are followed by a little description I've
  319. shaken out of my pen :-)
  320.  
  321. #define EMFILE          1
  322. #define EBADF           2
  323. #define EINVAL          3
  324. #define ESOCKTNOSUPPORT 4       Socket type not supported
  325. #define EAFNOSUPPORT    5       Address family not supported
  326. #define EOPNOTSUPP      6       Option not supported
  327. #define EFAULT          7
  328. #define ENOTCONN        8       No connection established
  329. #define ECONNREFUSED    9       Already connected, or connection refused,
  330. #define EAFNOSUPP       10
  331. #define EISCONN         11
  332. #define EWOULDBLOCK     12      Socket would have blocked
  333. #define EINTR           13
  334. #define EADDRINUSE      14      Address already in use
  335. #define ENOMEM          15      Not enough system memory to do task
  336. #define EMSGSIZE        16
  337. #define EALARM          17
  338. #define EABORT          18      Action aborted
  339. #define ECONNNOROUTE    19      No tcp route to target address
  340.  
  341.  
  342.  
  343. FILES FOR JNOS:
  344.  
  345. Please check the file NOS.CFG in this distribution for the names and
  346. locations of the files used on JNOS.
  347.  
  348.  
  349.  
  350. COMMAND LINE OPTIONS:
  351.  
  352. JNOS can be started with a number of command line options. All but one start
  353. with a '-'. Options should be separated by tabs or spaces. The option and the
  354. option argument (if any) should be contiguous (ie NO spaces).
  355.  
  356. -b          : Use direct video for the screen output.
  357. -c#         : set the number of columns on the screen to #.
  358. -drootdir   : set the root dir for configuration file path. This is overwritten
  359.               by the files included in the -f config file.
  360. -e          : pause after each error line in autoexec.nos.
  361. -fnos.cfg   : set JNOS config file names as indicated in the file 'nos.cfg'.
  362.               This overrides the -d option.
  363. -l          : do not remove *.lck files in the mail subdirectory
  364.               (default is to remove *.lck in the /spool/mail directory!)
  365. -mn         : set the default screen swap mode.
  366.                 n = 0 : Use EMS (if compiled in and EMS is available).
  367.                         (Default is ems available)
  368.                 n = 2 : Use memory. (default if no ems available)
  369.                 n = 3 : Use a temporary disk file.
  370. -n          : no trace session.
  371. -r#         : set the number of rows on the screen to #.
  372. -t          : trace the autoexec.nos file. You will be asked before each
  373.               if you want to execute it. 'y' accepts, anything else
  374.               skips the line.
  375. -v          : verbose. Print line from autoexec.bat before parsing.
  376. -u#         : set the number of status lines, valid values are 0-3
  377. -wf+b       : set the foreground and background color for the system status
  378. -xf+b       : set the foreground and background color for the session status
  379. -yf+b       : set the foreground and background color for the 'main' window
  380. -zf+b       : set the foreground and background color for the 'split' window
  381. autoexec.new: Name of the startup file. If not given, \autoexec.nos (or as
  382.               indicated with the -fnos.cfg option) is used.
  383.  
  384.  
  385. DOS MEMORY:
  386. Here is an interesting message:
  387. ----
  388. Date: Sun, 13 Feb 94 18:58:52 UTC
  389. From: k5rw@k5rw.ampr.org
  390. Subject: VIDRAM alternative
  391. To: nos-bbs@hydra.carleton.ca
  392.  
  393. DOS users that want extra memory for NOS/JNOS can use the following 
  394. instead of VIDRAM from Quarterdeck.
  395.  
  396. In your config.sys file for color video adapters load EMM386.EXE this way
  397.  
  398. DEVICE=C:\DOS\EMM386.EXE NOEMS I=A000-B7FF NOHI
  399.  
  400. In your config.sys file for mono video adapters load EMM386.EXE this way
  401.  
  402. DEVICE=C:\DOS\EMM386.EXE NOEMS I=A000-AFFF NOHI
  403.  
  404. Configured this way, EMM386 converts a portions of the area nomally reserved 
  405. for the video buffer to usable RAM and links it wtih convetional memory.
  406. Executable programs sizes can approach 700K or larger.
  407.  
  408. Don't switch to a pgm that uses graphics mode.  This should probably only be 
  409. used for boxes dedicated to NOS/JNOS or other non-graphic applications
  410. _____
  411.  
  412.  
  413.  
  414. Additions/changes are:
  415.  
  416. 1.10 (940228)
  417.  
  418. - JNOS now has a status display. This shows on the first line:
  419.   time, heap and core free memory, number of connections to the
  420.   different servers. Then a list of active sessions, where sessions with
  421.   data waiting are blinking.
  422.  
  423.   The 2nd line shows the users connected to the bbs. A status symbol
  424.   in front means the following:
  425.  
  426.   none - user is idle
  427.      * - user is a bbs
  428.      @ - user is in sysop mode
  429.      ! - user has gatewayed out
  430.      # - user is reading or sending mail
  431.      = - user is transfering data (up/download)
  432.      ^ - user is in convers or sysop-chat mode
  433.      ? - use is in none of the above, but not idle...
  434.  
  435.   Eg: BBS: *w0rli johan #ka7ehk !n7ifj
  436.  
  437.   (lines 1 and 2 are the 'system' window)
  438.  
  439.   On the 3rd line, it shows data depending on the current session.
  440.   Always displayed are the current session number and type.
  441.   If the sessions are network connections, displayed are remote connection
  442.   name,  tx-queue (bytes for tcp, packets for ax.25), state of the connection.
  443.   It then shows the retry timer, with current time left, and initial value.
  444.  
  445.   In repeat, more or look sessions, the 3rd line show the command, filename
  446.   or user/socket for the session.
  447.   In the command session 3rd line shows the current directory.
  448.  
  449.   (the 3rd line is the 'session' window)
  450.  
  451.   
  452.   The number of status lines displayed can be set with the '-z#'
  453.   commands line option. '-z0' turns it off. Default is '-z3'
  454.  
  455.   NOTE: if tracing is enabled, this will 'bleed' through the status window.
  456.   This is NOT a bug, but is inherent to the way tracing works in JNOS.
  457.   (It would take a major rewrite to fix.) The status window will be
  458.   rebuild about twice a second to overcome this.
  459.  
  460. - new commands line option to set colors of the different windows
  461.     (Only if SPLITSCREEN is compiled in !)
  462.  
  463.     -wf+b : set the foreground and background color for the 'system' window
  464.             (The top 2 lines of the display, if not disabled with -u option)
  465.             default: white on magenta
  466.     -xf+b : set the foreground and background color for the 'session' window
  467.             (The line underneath the 'system' window, if not
  468.              turned off with the -u option)
  469.              default: white on blue
  470.     -yf+b : set the foreground and background color for the 'main' window
  471.             (The session output window)
  472.             default: the system colors when jnos is started.
  473.             (most often lightgray on black)
  474.     -zf+b : set the foreground and background color for the 'split' window
  475.             (The text input window in 'split screen' mode);
  476.             default: white on green
  477.  
  478.     The 'system','session' and 'split' window always have the 'high intensity'
  479.     bit set in the color attribute. This allows those windows to stand out
  480.     on monochrome systems.
  481.  
  482.     f and b colors are numbers, and + is the + character:
  483.     0=black 1=blue 2=green 3=cyan 4=red 5=magenta 6=brown 7=white/gray
  484.  
  485.     EG: for blue text on a red background for the 'main' window,
  486.         nos -y1+4
  487.     To have this, with black text on white background 'system' system window,
  488.         nos -y1+4 -w0+7
  489.  
  490. - new 'look' command. You can now peek into a user on the bbs, or any non
  491.   local socket. If looking at a bbs user, you can initiate a 'chat' with
  492.   the user...
  493.  
  494.   'look <user|socket#>' will bring up a window that follows the user
  495.   or socket.
  496.  
  497.   There are a few commands available:
  498.   /? or /h - will show a sort help line
  499.   /m <msg> - send a message to the user. User sees: '<sysop>: message text'
  500.              (only if looking at a bbs user)
  501.   /c       - initiate a 'chat' with a bbs user. The bbs will suspend, and
  502.              you can talk with the user.
  503.   /q or /b - if in 'chat' mode, finishes it, and dumps the user back in the bbs.
  504.              if in 'look' mode, finishes looking at the user/socket.
  505.  
  506.    Note: if not in 'chat' mode, all non-command strings will be ignored.
  507.  
  508.    Looking at non-bbs socket might be helpful debugging things, or seeing
  509.    what an ftp user or a smtp user is doing. Note that often you don't see
  510.    what you expect: eg. ftp user sockets don't show the data transfered,
  511.    including directory listing, because this occurs on a separate socket
  512.    (ie. not seeing it is NOT a bug, for once...8-) )
  513.  
  514. - no limit (other then memory) to the number of sockets in the system.
  515.   (command line option -s is not used anymore !)
  516.  
  517. - 'netrom interface' command changed a bit:
  518.   new format 'netrom interface <iface> <quality> [<min-bc-quality>]'
  519.   If min-bc-quality is not set, the 'netrom minquality' value is used.
  520.  
  521.   Only routes of the min-bc-quality and better will be broadcast in a
  522.   nodes broadcast in this interface. If min-qual = 0, no nodes are broadcast
  523.   (Ie. this is the non-verbose mode of versions < v1.10)
  524.   Eg:  netrom interface ax0 224 180  -> nodes >= 180 are broadcast
  525.        netrom interface ax0 224 0    -> only ourself is broadcast
  526.        netrom interface ax0 224      -> nodes >= 'minquality' are broadcast
  527.  
  528. - Polled Kiss support (included in 1.10x11) now works. It has been tested
  529.   with a KPC-3 with polled kiss eprom. The parameters needed in the tnc
  530.   are CHECKSUM ON,MYDROP <tnc id>,POLLED ON, INTERFACE BPQ, then a RESET
  531.  
  532. - protection against opening device files like CON,AUX, etc (as 'advertized'
  533.   in 1.08) now works. Ie. no more lockup when fingering 'con' etc...
  534.  
  535. - the trace session (F9) now doesn't take any extra sockets. Also, you can
  536.   now issue commands in the trace session...(I have No Idea what that is good
  537.   for :-) 8-) )
  538.  
  539. - new mailbox 'XR' command. Shows or sets 'reply-to' header status.
  540.   Default is off. 'XR' shows state, 'XR on|off' sets the state.
  541.   If turned on, and user has registered an email address, messages sent by
  542.   this user will include a 'Reply-To: email-address' line. The state is
  543.   'remembered' across logins/logouts.
  544.  
  545. - new mailbox 'PIng <host>' (from Doug Crompton, WA3DSP)
  546.   Check if a host is alive. Returns RTT.
  547.  
  548. - new PI driver from Dave Perry, VE3IFB
  549.  
  550. - bug fix in 'ax25 bbscall' if used after non-ax25 interfaces were attached.
  551.  
  552. - bug fixes for local tcp links, and also for the heapsize memory value,
  553.   for ftp login 'anonymous ok' message, and for filename creation effecting
  554.   the ftp server, and mailbox d,u,w&z commands.
  555.  
  556. - fixed long time bug in scc driver allowing an already existing interface
  557.   name to be used again.
  558.  
  559. - fix in smtp tick for low memory conditions. From Andrew Benham, G8FSL
  560.  
  561. - mailbox negiotiates a few telnet options. From Wayne Schellekens, VE4WTS.
  562.  
  563. - 'icmp timeexceed [<on|off>]. Default is on. If turned off, no ICMP
  564.   'time exceeded'message will be sent when the ttl of an ip packet to be
  565.   routed becomes 0. This causes the system to be 'invisible' for
  566.   traceroutes, and might be useful for Internet gateways.
  567.  
  568. - 'mbox alias [<alias>] ["cmd"]' sets or shows alias commands for the
  569.   mailbox. To use an alias, the user has to type the FULL alias. Instead
  570.   of <alias>, <cmd> will be executed by the node. In the mailbox,
  571.   a user can type 'ALIas' to get a list of sysop-defined aliases.
  572.  
  573.   Without arguments, it shows the current aliases.
  574.   With only the <alias> argument is show this alias, if defined.
  575.   With <cmd> is add, redefines or clears an alias.
  576.   Eg. to add a new 'BBS' command to the node shell:
  577.         mbox alias bbs "c port bbscall"
  578.         mbox alias sysop "@"            -> allow 'sysop' command
  579.   Or to override the CONV command (or add one if you don't have convers
  580.   compiled in) and letting users use a remote convers system :
  581.         mbox alias conv "t <conv.serv.ampr.org> 3600"
  582.   to delete an alias
  583.         mbox alias myalias ""
  584.   or to change, simply redefine it
  585.         mbox alias bbs "c newport newbbscall"
  586.  
  587. - mailbox 'operator' is now sends a message to the sysop identifying
  588.   the user that initiates the 'sysop-chat'
  589.  
  590. - bug fixed from x16:
  591.   - forward subject line
  592.   - mailbox 'd,u,w,z' commands work correct with multiple paths
  593.  
  594. - 'callserver' and mailbox 'CAll' command are gone !
  595.   This can be defined with an alias (saves code !):
  596.   eg:  mbox alias call "telnet callserverhost callserverport"
  597.  
  598. - 'fkey' will now list all keys with their definition
  599.     (S=Shift, C=Control, A=Alt. Eg. SPgup = Shift Page-Up)
  600.  
  601. - ftp server sends 'anonymous login ok' message to user names that will
  602.   resolve into anonymous, unknown or unprotected (ie. password = *) logins.
  603.   This was in 1.10x16, but undocumented.
  604.  
  605. - a new nntp server is included from OH2BNS. *** This is UNTESTED *** I've
  606.   only made sure it compiles clean.! If it doesn't work, copy nntpsold.c to
  607.   nntpserv.c, and rebuild !
  608.  
  609.   From OH2BNS:
  610.  
  611.   This file describes my modifications to the NNTP server code in JNOS.
  612.  
  613.   The server now supports all forms of all RFC977 commands except NEWGROUPS.
  614.   The most significant change is that POST command now works. Changes to
  615.   other commands are less significant but still vital to get the server
  616.   to work with "third-party" newsreaders. Also supported are XHDR, XOVER,
  617.   XINFO, XLZW and DEBUG of which XHDR and XOVER are new commands.
  618.   The modifications were made under JNOS 1.10x12 and 1.10x15 and tested
  619.   also under JNOS/Linux 1.09 alpha 2 and 3. The code works as is on all
  620.   these versions.
  621.  
  622.   Here's a short list of the modifications I remember doing...
  623.  
  624.   - Fixed LIST
  625.  
  626.   - Implemented <MessageId> form of STAT, HEAD and BODY commands
  627.  
  628.   - Implemented POST
  629.  
  630.   - Posting to unexisting newsgroups now denied.
  631.     If message has no valid newsgroups in "Newsgroups:"-header
  632.     the message ends up in JUNK (= spool/news/forward).
  633.  
  634.   - Added console command 'nntp create' to create new newsgroups.
  635.     Usage is 'nntp create <newsgroup> [y|n]' where 'y' means
  636.     that you can post to this group.
  637.  
  638.   - Cleaned output of HELP
  639.  
  640.   - Implemented XHDR and XOVER.
  641.     Command syntax is XHDR header [range|MessageId] and XOVER [range]
  642.     These don't handle continuation headers correctly and XOVER isn't
  643.     fully implemented (I don't even know what all the last field
  644.     may contain).
  645.  
  646.   - The server now checks incoming message headers more strictly.
  647.     All incoming articles should have from, subject and newsgroups.
  648.     If the article is submitted with IHAVE it should have also
  649.     message-id, path and date. Empty headers are removed. Xref,
  650.     date-received, posted, posting-version, received and relay-version
  651.     headers are removed. Date, path, message-id and lines headers
  652.     are added if needed.
  653.  
  654.   - Message-id now checked against embedded whitespaces and >'s.
  655.  
  656.   - History file is locked during article transfers
  657.  
  658.   - Implemented nntp access feature. This can be toggled with
  659.     'nntp access on|off'. File spool/news/access is read and
  660.     connected host is given read, post or no access according to it.
  661.  
  662.     # Example file /spool/news/access
  663.     #
  664.     # Only first match is counts
  665.     #
  666.     # host:permissions:
  667.     #
  668.     # For some reason we don't want this host here
  669.     notwanted.ampr.org::
  670.     #
  671.     # All other ampr.org hosts can read and post
  672.     *.ampr.org:RP:
  673.     #
  674.     # Host foobar.com can only read
  675.     foobar.com:R:
  676.     #
  677.     # All other hosts will be refused access
  678.  
  679.   - Small fixes here and there, can't remember all of them...
  680.  
  681.   As soon as I find enough time and enthusiasm I will look into adding
  682.   handling of cancel messages and maybe some sort of nntp message
  683.   logging.
  684.  
  685.   All this is not very rigorously tested since tcp/ip activity here is
  686.   very low. The code seems to work just fine with newsreaders such as
  687.   WinQVT/Net's newsreader and GNUS (under Gnu Emacs).
  688.  
  689.   73 de Tomi
  690.  
  691.   Tomi Manninen            tomi.manninen@hut.fi
  692.   OH2BNS@OH2RBI.FIN.EU     oh2bns@oh2bns.ampr.org [44.139.8.46]
  693.  
  694. - added RIP-2 from Jeff White, N0POY
  695.   (not in the standard distribution. Define RIP in config.h)
  696.  
  697.     RIP-2 for NOS
  698.  
  699.     Introduction
  700.  
  701.     This document covers the implementation of RIP-2 (RFC 1388) in
  702.     NOS.  Specifically the WG7J version of NOS.  RIP-2 is an
  703.     enhanced version of the RIP protocol (RFC 1058).  RIP and RIP-2
  704.     are an interior gateway protocol (IGP).  RIP-2 for NOS was
  705.     implemented by Jeff White, N0POY.
  706.  
  707.     FEATURES
  708.  
  709.     The NOS implementation implements all features of the normal RIP
  710.     protocol (RFC 1058) and all features of the RIP-2 protocol (RFC
  711.     1388) except multicasting (which NOS does not currently
  712.     implement) and Route Tags (NOS does not implement any EGPs).
  713.     Features include:
  714.  
  715.     Routing Domains
  716.  
  717.     Authentication
  718.  
  719.     Proxy routing
  720.  
  721.     Filtering of naughty nodes
  722.  
  723.     Optional refusal of a default route
  724.  
  725.     Enhanced logging and tracing
  726.  
  727.     Route subnet masks correctly maintained
  728.  
  729.     Optional refusal to accept older RIP version broadcasts
  730.  
  731.     Mixing of RIP-1 and RIP-2 support
  732.  
  733.  
  734.     NOS RIP COMMANDS
  735.     ----------------
  736.  
  737.     RIP ACCEPT <gateway>
  738.  
  739.     The RIP ACCEPT command resumes the acceptance of RIP broadcasts
  740.     from a specific node given in the <GATEWAY> field.  Ex:  RIP
  741.     ACCEPT 192.55.248.1  or   RIP ACCEPT skeggi.tcman.ampr.org
  742.  
  743.     RIP ADD <DEST> <INTERVAL> [<FLAGS>] [<RIPVER>] [AUTH <PASSWORD>]
  744.     [RD <routing domain>]
  745.  
  746.     The RIP ADD command adds a node to the list of stations that are
  747.     to be broadcast to with the local nodes routing table.  <DEST>
  748.     is the destination node, usually a broadcast address.
  749.     <INTERVAL> is the number of seconds between broadcasts.  <FLAGS>
  750.     are the RIP flags used (see below for the flags), it is a
  751.     hexadecimal number.  <RIPVER> is the version of the RIP
  752.     broadcasts.  This may be a 1 or 2.  The AUTH identifier preceeds
  753.     the authentication password to be included with the RIP
  754.     broadcasts to this destination.  The RD identifier preceeds the
  755.     routing domain number.  This number must range from 0 to 65535.
  756.     The authentication fields and routing domain fields are only
  757.     valid with RIP-2 broadcasts.  The password must be 16 characters
  758.     or less.  Printable ASCII characters are recommended, but not
  759.     required.
  760.  
  761.     RIP FLAGS
  762.  
  763.     0x01    Do split horizon processing
  764.  
  765.     0x02    Include ourselves in the routing broadcast
  766.  
  767.     0x04    Broadcast RIP packets (default type)
  768.  
  769.     0x08    Multicast RIP packets (not implemented) (RIP-2)
  770.  
  771.     0x10    Poisoned Reverse on
  772.  
  773.     0x20    Authentication data to be included in broadcast (RIP-2)
  774.  
  775.     Recommend flags are Split Horizon, and Poisoned Reverse or 0x11.
  776.      Authentication and routing domain data entered here only
  777.     applies to the outgoing RIP broadcasts.  See RIP AUTHADD and RIP
  778.     AUTHDROP for entering acceptable passwords and routing domains.
  779.  
  780.     Example:    RIP ADD SKEGGI.TCMAN.AMPR.ORG 30 0x31 2 AUTH frodo RD
  781.     2
  782.  
  783.             RIP ADD BIGGUS.TCMAN.AMPR.ORG 300 0x11 1
  784.  
  785.     RIP PROXY <SRC> <DEST> <INTERVAL> [<FLAGS>] [AUTH <PASSWORD>]
  786.     [RD <ROUTING DOMAIN>]
  787.  
  788.     The RIP PROXY command adds a node to the list of stations that
  789.     are to be broadcast to with the local nodes routing table.
  790.     <SRC> is the node that the broadcast will "point" to.  <DEST> is
  791.     the destination node, usually a broadcast address.  <INTERVAL>
  792.     is the number of seconds between broadcasts.  <FLAGS> are the
  793.     RIP flags used (see below for the flags), it is a hexadecimal
  794.     number.  The AUTH identifier preceeds the authentication
  795.     password to be included with the RIP broadcasts to this
  796.     destination.  The RD identifier preceeds the routing domain
  797.     number.  This number must range from 0 to 65535.  The
  798.     authentication fields and routing domain fields are only valid
  799.     with RIP-2 broadcasts.  The password must be 16 characters or
  800.     less.  Printable ASCII characters are recommended, but not
  801.     required.
  802.  
  803.     RIP FLAGS
  804.  
  805.     0x01    Do split horizon processing
  806.  
  807.     0x02    Include ourselves in the routing broadcast
  808.  
  809.     0x04    Broadcast RIP packets (default type)
  810.  
  811.     0x08    Multicast RIP packets (not implemented) (RIP-2)
  812.  
  813.     0x10    Poisoned Reverse on
  814.  
  815.     0x20    Authentication data to be included in broadcast (RIP-2)
  816.  
  817.     Recommend flags are Split Horizon, and Poisoned Reverse or 0x11.
  818.      Authentication and routing domain data entered here only
  819.     applies to the outgoing RIP broadcasts.  See RIP AUTHADD and RIP
  820.     AUTHDROP for entering acceptable passwords and routing domains.
  821.  
  822.     Proxy RIP is tricky, complex and not needed for normal use.  Do
  823.     NOT use proxy rip unless you understand what you are doing.
  824.     Proxy RIP's primary use would be to advertise routes to another
  825.     machine that is aquiring routing information via another routing
  826.     protocol.  See RFC 1388 for further details.
  827.  
  828.     RIP DROP <dest> [<DOMAIN>]
  829.  
  830.     RIP DROP removes a routing broadcast entry.  If a RIP-2
  831.     broadcast was entered, the correct routing domain needs to be
  832.     entered, since it is possible to broadcast multiple routing
  833.     domains to the same address.
  834.  
  835.     Example:  RIP DROP SKEGGI.TCMAN.AMPR.ORG 2
  836.  
  837.     RIP AUTHADD <interface> <routing domain> [<password>]
  838.  
  839.     RIP AUTHADD adds an acceptable routing domain and optionally a
  840.     password to a specific interface.
  841.  
  842.     Example:    RIP AUTHADD ax0 2 frodo
  843.  
  844.             RIP AUTHADD en0 3
  845.  
  846.     RIP AUTHDROP <interface> <routing domain>
  847.  
  848.     RIP AUTHDROP removes an acceptable routing domain (and password
  849.     if any) from a specific interface.
  850.  
  851.     Example:    RIP AUTHDROP ax0 2
  852.  
  853.     RIP REJECT <version>
  854.  
  855.     RIP REJECT is used to ignore older RIP broadcasts, as they may
  856.     cause undesirable routing table alterations.  The version number
  857.     is the version number and below that are ignored.  RIP version 0
  858.     (XNS RIP) is always ignored.  The default is 0.  To ignore RIP-1
  859.     broadcasts:  RIP REJECT 1 would do the job.
  860.  
  861.     RIP FILTER <ON|OFF>
  862.  
  863.     RIP FILTER will cause advertisements to the default route
  864.     (0.0.0.0) to be tossed and ignored.  By default this is off.
  865.     This can serve as a LID filter.  Default routes should NOT be
  866.     advertised, unless there is a specific reason (ie this machine
  867.     is a gateway to the rest of the Internet).
  868.  
  869.     RIP MERGE <ON|OFF>
  870.  
  871.     RIP MERGE will cause overlapping routing entries to be merged
  872.     into one routing entry.  For example N0BEL.TCMAN.AMPR.ORG is a
  873.     route to 192.133.30.0/28, and 192.133.30.16/28, with merging on
  874.     this would become a single entry of 192.133.30.0/27.
  875.  
  876.     RIP REFUSE <gateway>
  877.  
  878.     RIP REFUSE will reject all RIP broadcasts from the GATEWAY
  879.     station.  RIP ACCEPT is the opposite.  By default all stations
  880.     are accepted.
  881.  
  882.     RIP REQUEST <GATEWAY>
  883.  
  884.     RIP REQUEST asks the gateway station to send a routing table
  885.     now, rather than waiting for periodic updates.
  886.  
  887.     RIP STATUS
  888.  
  889.     RIP STATUS will display various statistics for RIP-1 and RIP-2,
  890.     RIP broadcasts, RIP refusals, and acceptable Interface, Domain
  891.     and Password combinations.  It also displays the refusing
  892.     version level.  The DEFAULT interface is for every interface.
  893.     Thus unless removed, and RIP-2 broadcast with a domain of 0 does
  894.     not require a password and will be accepted.
  895.  
  896.     RIP TRACE <level> [<FILE>]
  897.  
  898.     RIP TRACE will begin tracing RIP operations.  The higher the
  899.     level, the more detailed the logging.  Level 9 is the useful
  900.     maximum, with level 0 (the default) being no logging.  If a file
  901.     is specified, logging will go to that file, else logging appears
  902.     on the console.
  903.  
  904.     RIP TTL <time-To-LIVE>
  905.  
  906.     RIP TTL sets the time-to-live before RIP entries expire from the
  907.     routing tables.  The default should work for almost all cases.
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915. 1.10x16 (930208)
  916.  
  917. - ftpuser permission added NO_LINKEDTO is 262144. If set, this disables
  918.   the use of the '*** LINKED TO'. This solves a security hole. It should
  919.   probably be added to the 'univperm' entry in your ftpuser file, and
  920.   any other appropriate entries.
  921.  
  922. - mailbox convers access is now with 'CONVers' command. 'CONV' gets the
  923.   user to channel 0, and 'CONV n' to channel n.
  924.  
  925. - starting tcp servers doesn't create a new process anymore (ie. they don't
  926.   show up in the 'ps' display anymore !) This is now handled in the network
  927.   process. From KA9Q.
  928.  
  929. - 'mem minalloc' sets minimum number of bytes to allocate per malloc() call.
  930.   Setting this to a sensable value like 32 or 64 might prevent too much
  931.   memory fragmentation for the realloc scheme to work effectively.
  932.   Default = 0, ie no minumum allocation size;
  933.  
  934. - forwarding speed is fixed. It now takes a few seconds to scan through
  935.   300+ messages to check on forwarding, instead of several minutes...
  936.  
  937. - added command line -e and -t options for autoexec.nos debugging.
  938.   -e pauses after lines with errors. -t asks if you want to execute a line
  939.   before it is processed. 'y' executes, anything else skips the line.
  940.  
  941. - all *.lck in the /spool/mail directory now get deleted at startup. This
  942.   can be turned off with the '-l' command line option.
  943.  
  944. - a new file '/spool/names.dat' is read when mailbox messages are sent.
  945.   If the file exists, and if the user's login name (most often the call)
  946.   is found, the user's full name is used in the 'From:' line of the message
  947.   (modified from code by Pierpaolo IW5DHE (pernici@mammolo.cnuce.cnr.it) )
  948.  
  949.   EG. in names.dat 'wg7j Johan. K. Reinalda', then a message sent by wg7j
  950.   in the mailbox will show :
  951.   From: Johan. K. Reinalda <wg7j@hostname>
  952.  
  953. - config.h gives the option for end forwarding with Ctrl-Z instead of /EX
  954.   This has caused a problem with forwarding by some European systems.
  955.  
  956. - in the mailbox, if an email address has been given during registration,
  957.   messages sent will include a 'Reply-To: ' header with this address.
  958.  
  959. - mailbox registration (if compiled in) can be disable with
  960.   'mbox register off'. It defaults to on.
  961.  
  962. - ALL AX.25 parameters are now configurable per interface. The 'ax25 xxx'
  963.   command sets the default values, and the 'ifconfig <iface> ax25 xxx' command
  964.   sets or shows the interface specific values. (Note that some commands,
  965.   eg. 'ifconfig iface paclen' have changed format ! These are marked with *)
  966.   'ifconfig <iface> ax25' shows all values. The new commands are:
  967.   ifconfig <iface> ax25 bbscall *
  968.                         bctext *
  969.                         blimit
  970.                         cdigi *
  971.                         irtt *
  972.                         maxframe
  973.                         maxwait -> new, sets max retry time-out value in ms.
  974.                         paclen *
  975.                         pthresh
  976.                         retry
  977.                         timertype
  978.                         t3
  979.                         t4
  980.                         version
  981.                         window
  982.  
  983.   NOTE: as a result of this 'iconfig' NO LONGER takes multiple subcommands
  984.   on one line. They have to be broken up now !
  985.   eg. 'ifconfig ln0 netmask ffffff00 broadcast 255.255.255.255' is invalid,
  986.   should be 'ifc ln0 net ffffff00' and 'ifc ln0 broad 255.255.255.255' !
  987.  
  988.   NOTE2:
  989.   If you want to change the system default ax.25 parameters, you now need
  990.   to do so BEFORE attaching interfaces! (Eg. ax25 irtt 2500) After attaching,
  991.   you should use the 'ifconfig <iface> ax25' command to change it per
  992.   interface.
  993.  
  994.  
  995. - Most TCP parameters are now configurable per interface. The 'tcp xxx'
  996.   command sets the default values, and the 'ifconfig <iface> tcp xxx' command
  997.   sets or shows the interface specific values. The new commands are:
  998.   ifconfig <iface> tcp blimit
  999.                        irtt
  1000.                        maxwait
  1001.                        mss
  1002.                        retries
  1003.                        syndata
  1004.                        timertype
  1005.                        window
  1006.  
  1007.   Outgoing TCP connections get the values for the interface the initial
  1008.   sync packet ('connect request') will be routed out on. Incoming TCP
  1009.   connections get the values for the interface the initial request comes
  1010.   in on.
  1011.  
  1012.   NOTE: as a result of this 'iconfig' NO LONGER takes multiple subcommands
  1013.   on one line. They have to be broken up now !
  1014.   eg. 'ifconfig ln0 netmask ffffff00 broadcast 255.255.255.255' is invalid,
  1015.   should be 'ifc ln0 net ffffff00' and 'ifc ln0 broad 255.255.255.255' !
  1016.  
  1017.   NOTE2:
  1018.   If you want to change the system default tcp parameters, you now need
  1019.   to do so BEFORE attaching interfaces! (Eg. tcp window 512) After attaching,
  1020.   you should use the 'ifconfig <iface> tcp' command to change it per
  1021.   interface.
  1022.  
  1023.  
  1024. - added core reallocation code, modified from TNOS (KO4KS)
  1025.   If possible, memory is given back to the DOS core.
  1026.  'mem stat' will show the number of successful reallocs.
  1027.  
  1028. - 'tcp maxwait' and 'ax25 maxwait' added. Sets a limit (in ms) to the
  1029.   retry timeout values. Both default to 0 ms (no limit).
  1030.  
  1031. - outgoing tcp connections to addresses without an existing route result
  1032.   in an error no. 19
  1033.  
  1034. - 'ftpusers' can now have multi drives, paths and permission sets.
  1035.   A path can be compound, like dos path, can contains multiple drives, and
  1036.   should be followed by the permissions for that path.
  1037.   Mailbox logins get permission from the first path listed in 'ftpusers'
  1038.   (ie. backwards compatible.)
  1039.   Fields in ftpusers can now be separated by any number and combination
  1040.   of tabs and spaces.
  1041.   NOTE: PPP users should at this NOT have multiple path entries ! (It messes up
  1042.   the ip-address field!)
  1043.   Eg:
  1044.   user  password  /public 12345 /temp;d:/help   12345
  1045.  
  1046. - fixed bug in pathname.c that could cause memory to be overwritten in
  1047.   instances where filenames contained '\' chars.
  1048.  
  1049. - fixed bug in pop 2/3 code where new mail wasn't written unless
  1050.   mailbox file existed.
  1051.  
  1052. - bug fix for empty names in smtp <usr@host> addresses.
  1053.  (caused loop in smtp server). From Matthias Wermann, DL1BJL.
  1054.  
  1055. - Smtp BID checking can be turned off with 'smtp bidcheck off'. Default is on.
  1056.  
  1057. - convers users get a 'message of the day' from the file "/spool/convmotd.txt"
  1058.   if it exists. (Can be renamed with the -fnos.cfg option)
  1059.  
  1060. - many mods for k5knx
  1061.  
  1062. - smtp kick now spawns a process (speeds up response)
  1063.  
  1064. - mbox forward scripts can pause a number of seconds: '&5' pauses 5 seconds
  1065.  
  1066.  
  1067.  
  1068. 1.10x15 (931204)
  1069.  
  1070. - if mailbox files have an old or nonexisting indexfile,
  1071.   new index files are now automatically updated at program startup
  1072.   and after returning from shell. (From an idea by Jack, kf5mg)
  1073.  
  1074.   ==> You can now use ANY MAILER you want !
  1075.  
  1076. - 'index *' indexes all mailbox files, irregardless.
  1077.  
  1078.  
  1079. 1.10x14 (931202)
  1080.  
  1081. - bug fix in expire code that caused mail from non-nos systems
  1082.   to be garbled after expire.
  1083.  
  1084. - bug in forward code with 'to%atbbs@host' style messages fixed.
  1085.  
  1086. - ax.25 irtt (initial round trip time) can be set per interface
  1087.   with 'ifconfig <iface> axirtt nnnn', where nnnn is the irtt in ms.
  1088.   This is useful when you have low and high speed interfaces.
  1089.  
  1090. - remote command fixed.
  1091.  
  1092. - convers personal data is now limited to 32 characters.
  1093.  
  1094. - added new PI driver with support for PI2 (from ve3ifb)
  1095.  
  1096.  
  1097. 1.10x13 (931031)
  1098.  
  1099. - fixed alarm() bug in mailbox2.c
  1100.  
  1101. - fixed '.' access problem in ftpserv.c
  1102.  
  1103. - fixed printf's -> tprintf's in bpq.c and bpqcmd.c
  1104.  
  1105. - fixed tprintf with no arguments in pppipcp.c
  1106.  
  1107. - deleted debug statement in nr3.c
  1108.  
  1109. - convers overload checking now done even if no links are initiated
  1110.  
  1111.  
  1112.  
  1113. 1.10x12 (931022)
  1114.  
  1115. - fixed bug in forward code that garbled addresses.
  1116.  
  1117. - also fixed 'mbox kick' bug and open index file in main.c (from kf5mg)
  1118.  
  1119.  
  1120.  
  1121. 1.10x11 (931011)
  1122.  
  1123. - 'taillog' command added.
  1124.  
  1125. - several memory leaks in use of index code fixed.
  1126.   (in initnotes(), mbx_reply(), closenotes(), and more...)
  1127.  
  1128. -
  1129.   *** DUE to a lack of hardware, this has not been tested, yet ***
  1130.  
  1131.   Polled KISS (ala G8BPQ) is now supported. When attaching the serial port
  1132.   use the mode 'pkiss' instead of 'ax25'. This becomes port 0. Then for
  1133.   all other tnc's on the same serial port, add an additional 'attach
  1134.   kiss' command. Eg. to attach 3 polled kiss tnc's(#0,2,11) at 9600bd:
  1135.  
  1136.     attach asy 3f8 4 pkiss p0 1024 256 9600
  1137.     attach kiss p0 2 p2
  1138.     attach kiss p0 11 p11
  1139.  
  1140.  The poll-intervall is calculated according to the asy interface mtu and
  1141.  the speed, with some overhead. This is the frequency in wich the list of
  1142.  tnc's is polled. Thus the frequency for each tnc is the interval * number-
  1143.  of-tnc's...
  1144.  
  1145.     interval = 0.15 + ((10 * mtu) / speed ) seconds
  1146.     poll-time = interval * #-of-tnc's
  1147.  
  1148.  (Eg. for 9600bd with mtu=256 , interval = 0.416 sec; rounded up to the
  1149.   nearest system clock tick gives 440ms; thus poll-time for each tnc is
  1150.   about 1.5 seconds)
  1151.  
  1152.   From G8BPQ's 'PORTS.DOC' document, I conclude that polled mode and checksum
  1153.   addition always go together (unlike the Kantronics tnc's that can switch
  1154.   things on and off independently...) This is how JNOS and JNOS40 polled kiss
  1155.   is implemented.
  1156.  
  1157.   From G8BPQ's 'KISSROMS.DOC' is some information on how to connect the tncs:
  1158. -------------- insert ----------------
  1159.   The system uses polling to prevent contention on the link. Each TNC must
  1160.   run the BPQKISS program, and each must have a different 'address' byte
  1161.   patched in at location 20hex...
  1162.   In theory you can have up to 16, but in practice the maximum will depend
  1163.   on the power of the PC and the speed of the radio ports.
  1164.   
  1165.   Wiring.
  1166.  
  1167.           PC              TNC 1           TNC 2
  1168.  
  1169.    GROUND  7 ---------------7----------------7-----------  etc
  1170.  
  1171.        TXD 2 ---------------2----------------2-----------  etc
  1172.  
  1173.        RXD 3 --------------------------------------------  etc
  1174.                              |               |
  1175.                              -               -
  1176.                              ^               ^
  1177.                              |               |
  1178.                              3               3
  1179.  
  1180.     -
  1181.     ^   is a diode (1N914 or similar)
  1182.  
  1183.  
  1184.     With some TNCs and serial cards, a pulldown resistor may be required
  1185.     from pin 3 on the PC (10k to -12v is suggested). Thanks to G3ZFJ for this
  1186.     information.
  1187. ----------------end of insert--------------
  1188.  
  1189.    For more information see the G8BPQ documentation.
  1190.  
  1191.  
  1192. - 'convers tdisc' added. Set maximum inactivity time (in seconds)
  1193.   for users.
  1194.  
  1195. - 'ftptdisc' and 'mbox tdisc' commands were rewritten, and are no longer
  1196.   options in the config.h file.
  1197.  
  1198.  
  1199.  
  1200. 1.10x10 (930927)
  1201.  
  1202. - smtp server has configurable timeout. 'smtp tdisc' sets this. Server will
  1203.   close if client doesn't send any data for specified time (in seconds).
  1204.  
  1205. - indexing is changed; now variable lenght records are used, to keep complete
  1206.   header info. The create utility is now MAIL2IND.EXE
  1207.  
  1208. - log files are changed: they are now named 'ddmmmyy' and are kept in
  1209.   the /logs directory by default (Unless changed with nos.cfg option).
  1210.   Ie. each day automatically gets a new log !
  1211.   Logging can be turned on/off with 'log on|off' (ie this does not set
  1212.   the log filename anymore !)
  1213.  
  1214. - forwarding when bbs already connected is fixed.
  1215.  
  1216. - mailbox 'KA' command added to 'Kill All' messages
  1217.  
  1218. - 'index <mailbox>' command added to rebuild the index file for a mailbox
  1219.   text file.
  1220.  
  1221. - convers '/w' command now can show info for one user with '/who <user>'
  1222.  (as long as <user> doesn't start with 'q', since this is a quick /who')
  1223.  
  1224. - many more config.h switches added.
  1225.  
  1226. - 'netrom call' buffer problem fixed.
  1227.  
  1228. - 'message.ftp' file now also works when ftp users login to root dir.
  1229.  
  1230. - mailbox list works with display > 80 columns
  1231.  
  1232. - little bug in expire fixed.
  1233.  
  1234. - extended telnet option negotiation might work now...
  1235.   You should define TN_KK6JQ in telnet.h to activate it.
  1236.  
  1237. - G8BPQ driver include; #define BPQ in config.h . Here is the read.me :
  1238. 4-12-93
  1239.  
  1240. here is an addition to nos that allows it to attach interfaces directly
  1241. to bpqcode without having to use the packet driver interface and
  1242. nodedrv4.com TSR. nos will talk to bpqcode using the bpq_host interrupt
  1243. code in version 4.00 and up of bpqcode. this eliminates the extra
  1244. memory and processing time used by nodedrv4.com to send packets between
  1245. nos and bpqcode.
  1246.  
  1247. this code was developed with nos v 911229 wg7j v1.07b. it should be
  1248. easily ported to other versions. it consists of three files: bpq.c,
  1249. bpq.h, and nos2bpq.doc (this file). there are several changes to
  1250. other files in nos that are needed. these changes are described
  1251. below.
  1252.  
  1253. usual disclamer:
  1254. the code described herein is copyright 1993 by FazCom. it may be freely
  1255. used and distributed for non-commerical amateur radio use only, provided
  1256. this notice remains, all other rights reserved. FazCom is not responsible
  1257. for any liability, directly or indirectly, resulting from the use of this
  1258. code, nor for its suitability to any purpose, stated or otherwise.
  1259.  
  1260. now that that's over with; use and enjoy.
  1261. ... faz ...
  1262.  
  1263. paul h launspach n5faz
  1264. 7913 edgemere blvd
  1265. el paso, tx 79925-3836
  1266. packet: n5faz @ w5es.#wtx.tx.usa
  1267. amprnet: n5faz@n5faz.ampr.org 44.77.0.70
  1268. internet: none
  1269. cis: 71046,0076
  1270.  
  1271.  
  1272. *** Commands for using the bpq host to nos interface:
  1273.  
  1274. attach bpq init <vec> <stream>
  1275. Used to initilize the bpqhost interface.
  1276.         vec     interrupt vector in hex of the bpq_host code normally 0x7f.
  1277.                 must be the same as defined in bpqcfg.txt.
  1278.         stream  bpq_host stream number used by nos. must be between
  1279.                 1 and 64 and not used by any other program. nos uses
  1280.                 only one stream for all interfaces attached to bpq_host.
  1281.  
  1282. attach bpq <port> <label> [mtu [callsign]]
  1283. Used to attach an interface to the bpq node.
  1284.         port    bpq radio port number as defined in bpqcfg.txt
  1285.         label   name of this interface.
  1286.         mtu     paclen for this interface. if not given set to
  1287.                 AX25 Paclen.
  1288.         callsign call used for this interface. if not given set to
  1289.                 AX25 Mycall.
  1290.  
  1291. bpqstat
  1292.  
  1293. display the status of the bpq_host to nos code. values displayed are:
  1294. bpq_host interrupt vector, bpq_host stream number, number of bpq_host
  1295. ports in use, frames sent, frames recieved, transmit calls, recieve
  1296. calls, and control calls.
  1297.  
  1298.  
  1299.  
  1300. - SCC driver has support for Baycom modem. From Rene Stange, dg0ft
  1301.   Here is some info:
  1302.  
  1303. NOS-Version 920411.DG0FT.920508  for BayCom USCC - Slotcard.
  1304.  
  1305. With this version of PE1CHL`s SCC-Driver for KA9Q-NOS it is possible to use
  1306. the BayCom-USCC-Slotcard.
  1307. Special changes to the sources for the clocks were adapted, NRZ-mode for the DF9IC-
  1308. Modem was made possible and the CTS-external status interrupt was switched
  1309. off, because the feedback of /CTS to the Interrupt output might crash
  1310. the system.
  1311.  
  1312. The ATTACH-command for the USCC is to be used as following:
  1313.  
  1314. attach scc 2 init 300 2 4 5 -4 0 7 p4915200 10
  1315.            ^      ^   ^ ^ ^  ^ ^ ^ ^        ^
  1316.            1)     2)  3)4)5) 6)7)8)9)       10)
  1317.  
  1318. 1) number of SCC-controllers 8530
  1319. 2) address basis of 1st controller
  1320. 3) offset in address between the SCC-Chips
  1321. 4) offset from basis address to control-port of channel A
  1322. 5) offset from basis address to control-port of channel B
  1323. 6) offset between control-port to data port of channel
  1324. 7) always 0, because no INTACK
  1325. 8) used Interrupt
  1326. 9) Clock 4915200 Hz
  1327. 10 always 10, marks BayCom USCC
  1328.  
  1329. Because of the used port-address scheme only one slotcard can be used.
  1330. Personalize parameters 2) and 8) to your system
  1331.  
  1332. When you have given above command you have to initialize the SCC-ports to
  1333. be used as following:
  1334.  
  1335. attach scc 0 ax25 uscc0 256 1200  1024 mycall
  1336. attach scc 1 ax25 uscc1 256 1200  1024 mycall
  1337. attach scc 2 ax25 uscc2 256 d9600 1024 mycall
  1338. attach scc 3 ax25 uscc3 256 ext   1024 mycall
  1339.            1)      2)   3)   4)   5)    6)
  1340.  
  1341. 1) number of USCC-port
  1342. 2) name of this port
  1343. 3) maximum packet length (MTU)
  1344. 4) kind of modem and baudrate
  1345. 5) size of buffer
  1346. 6) optional call for this channel
  1347.  
  1348. Definition of paramter 4):
  1349.  
  1350. 1200   AFSK-modem using internal SCC-clock and 1200 Bd
  1351.        (e.g. TCM3105-modem), no fullduplex operation
  1352.  
  1353. d9600  modem with external TX-clock, internal RX-clock 9600 Bd,
  1354.        fullduplex operation possible.
  1355.  
  1356. ext    DF9IC-modem, NRZ-mode, external clock
  1357.  
  1358. Parameter 2-6 have to be personalized as required
  1359.  
  1360. I just want to state, that this version was not completely tested,
  1361. especially modems with external clock (DF9IC/G3RUH) were not tested
  1362. or only in loopback-mode.
  1363.  
  1364. The parameter-setting sometimes is a little bit unusual, because
  1365. some of the data have to be set up in  fractions of 1/18.2s.
  1366. The PC-Timer chip is the reason for that. A recalculation might have
  1367. been possible, but I didn`t enjoyed to do that.
  1368.  
  1369. 73`s from Rene, Strausberg (GERMANY).
  1370. DG0FT  at DB0KG
  1371.  
  1372.  
  1373.  
  1374.  
  1375. 1.10x9 (930728)
  1376.  
  1377. - dos environment variables can be set to allow a login without using
  1378.   the ftpusers file. (This is very handy when this file gets corrupted!)
  1379.   NOSSYSOP sets username, NOSPASSWD the password, and optional NOSPATH the
  1380.   path, and optional NOSPRIVS the priveledges. If NOSPATH is not set, it will
  1381.   be the root dir on the current drive. If NOSPRIVS is not set it will be
  1382.   FTP_READ + FTP_WRITE + FTP_CREATE + AX25_CMD + NETROM_CMD + TELNET_CMD +
  1383.   SYSOP_CMD + IS_EXPERT . NOSPRIVS accepts both decimal and hexadecimal if
  1384.   "0x" preceeds the value.
  1385.  
  1386.   Eg: before starting JNOS: 'set NOSSYSOP=johan' and 'set NOSPASSWD=password'
  1387.  
  1388. - mailbox closenotes() is less a cpu-hogg ;-)
  1389.  
  1390. - convers servers is a little more memory efficient by not allocating input
  1391.   buffers for users on other hosts (saves 256 bytes per user)
  1392.  
  1393. - telnet extended options and dos environment TERM deleted because of
  1394.   reported problems. (If you want it anyhow, define TN_KK6JQ in telnet.h)
  1395.  
  1396. - expire stack increased again to solve crashes
  1397.  
  1398. - little bug fix in arp.c that caused replies with wrong ip address sometimes.
  1399.   by Mike Gallaher, wa3hee
  1400.  
  1401. - 'domain addserver' has optional timeout value in seconds for this server.
  1402.   if not set, timeout defaults to 3 * tcp irtt.
  1403.   Eg: 'domain addserver wg7j.ece.orst.edu 30'
  1404.  
  1405. - cdigi digipeating now only works if BOTH interfaces involved have a cdigi
  1406.   callsign set.
  1407.  
  1408. - bug that caused 'you have new mail' to be send to bbs's fixed.
  1409.  
  1410. - attempt to handle convers servers with hostname or usernames > 10 .
  1411.  
  1412. - mailbox 'K' or 'KU' command nowm kills or unkills current message if no
  1413.   message list is given.
  1414.  
  1415. - expire process is prevented against mulltiple invocations.
  1416.  
  1417. - G8BPQ logging was logging destination node, instead of source; now fixed.
  1418.  
  1419.  
  1420.  
  1421. 1.10x8 (930721)
  1422.  
  1423. - a version of BM.EXE with support for Mail Index Files is now included
  1424.   (initial version is 4.0x1. Still needs more work, but is functional)
  1425.   See the BM.EXE and BM4.ZIP files.
  1426.  
  1427. - if MAILBOX is undefined in config.h, but ALLSERV or TTYCALL is defined,
  1428.   incoming connections to telnet-port, or netrom/ax25 calls go to the
  1429.   tty-link listener...
  1430.  
  1431. - ax.25 convers and tty call connection now go directly to their server,
  1432.   and bypass the mailbox completely...
  1433.  
  1434. - many process stack sizes have been decreased to better utilize memory
  1435.  
  1436. - ftp server has additional information possibilities:
  1437.   if a file 'message.ftp' exists in the initial directory (eg. /public, or
  1438.   whatever), it will be send right after the login.
  1439.   When CD-ing, if a file 'desc.ftp' exists in the new directory, the
  1440.   server will send the text in this file to the user...
  1441.   From Giancarlo, IW5CZT.
  1442.  
  1443. - mailbox problem with smtp_send process solved; should fix a few
  1444.   unexpected disconnects here and there. From Mark, ve3dte
  1445.  
  1446. - 'status' command now shows if system is 'loosing time' through missed
  1447.   hardware tick interrupts, or through DV or OS/2 DOS emulation problems.
  1448.   (If it doesn't show it, it didn't miss any :-)
  1449.  
  1450. - forwarding finally works correctly again with new index code.
  1451.  
  1452. - mailbox 'List' works again with indexfiles and userlog code.
  1453.  
  1454. - 'smtp list' fixed under DV ad OS/2 (with correct date/time)
  1455.  
  1456. - digipeat bug with crossband fixed
  1457.  
  1458. - included extended telnet option negotiations, and a DOS enviroment
  1459.   variable "TERM" can be set to the terminal type. From kk6jq
  1460.   ( This was Deleted in 1.10x9 because of reported problems; if you
  1461.     want it anyhow, define TN_KK6JQ in telnet.h )
  1462.  
  1463. - 'ip heard' now works on netrom by setting 'ip hport netrom on'
  1464.  
  1465. - memory leak in convers.c '/p' processing fixed (from Mark, ve3dte)
  1466.  
  1467. - ax.25 and netrom resets will send a disconnect to be polite.
  1468.  
  1469. - current msg pointer in mailbox fixed.
  1470.  
  1471. - smtp 'Apparently-To:' fixed.
  1472.  
  1473. - both jnos and mail2idx use 'Apparently-To' header if 'To:' doesn't exist.
  1474.  
  1475. - mailbox 'SF' works again.
  1476.  
  1477.  
  1478.  
  1479. 1.10x7 (930708)
  1480.  
  1481. - little fix in new private mail notification.
  1482.  
  1483. - fixed dir problem introduced in 1.10x6 .
  1484.  
  1485. - convers maxq code changed; you can now set limits for users and hosts with
  1486.   'convers umaxq' and 'convers hmaxq' . If set to 0, there is no limit,
  1487.   otherwise connections will be reset if there is more then the maxq value
  1488.   data outstanding on the connection. This should now also reset connections,
  1489.   instead of the previous graceful close...
  1490.  
  1491.  
  1492.  
  1493. 1.10x6 (930707)
  1494.  
  1495. - I've tested pop2/3 and they should now really be working with
  1496.   the index files. :-)
  1497.  
  1498. - mail2idx bugfix in -d option.
  1499.  
  1500. - additional permission bit in ftpusers: NO_LISTS = 131072  (0x10000)
  1501.   if set, user can not list mailbox IH, IP, P, N, and NR commands.
  1502.  
  1503. - fixed some '#define' areas
  1504.  
  1505.  
  1506.  
  1507. 1.10x5 (930630)
  1508.  
  1509. - fixed 'MM' and 'SR' mailbox commands.
  1510.  
  1511.  
  1512.  
  1513. 1.10x4 (930629)
  1514.  
  1515. - pop2 and pop3 should now be compatible with the mail index files.
  1516.   However: I do not use either pop2 or pop3 and thus the code has NOT
  1517.   been tested. I would appreciate feedback.
  1518.  
  1519. - Monitor Trace mode added. Gives a shorter, easier trace display.
  1520.   'trace <iface> 3xy' sets this, where x=1 sets input, y=1 sets output
  1521.   From Brandon Allbery, KF8NH
  1522.  
  1523. - bugfix in MAIL2IDX.EXE. Doesn't write a faulty index file anymore if
  1524.   mailfile is emty or contains data but no messages.
  1525.  
  1526. - new icmp source quence behaviour:
  1527.   if 'icmp quence off' is set, when a ip packet is received, and
  1528.   mem < threshold, it will be dropped (ie. no quench or anything.)
  1529.   This might help systems with ethernet controllers or other higher
  1530.   speed interfaces...
  1531.   (If 'icmp quench on', the default, behaviour is as before)
  1532.  
  1533.   From a message Barry McLarnon, ve3jf, forwarded to me :
  1534.   "From: heisen@numerik.uni-duesseldorf.de (Henner Eisen)
  1535.   Newsgroups: comp.protocols.tcp-ip.ibmpc
  1536.   Subject: Re: KA9Q as Gateway... how?
  1537.   Date: 8 Mar 1993 10:04:50 GMT
  1538.   ...Whenever KA9Q receives new packets faster than it can process them
  1539.   the internal buffer is likely to overflow. The way KA9Q deals with that
  1540.   situation is as follows:
  1541.   There is a high water mark for the dynamically allocatable storage (its value
  1542.   may be changed in autoexec.net with the "memory thresh #" command ). Whenever
  1543.   that hig water mark is exceeded KA9Q will submit an ICMP Source Quench to the
  1544.   originator of every additionally received packet. Unfortunately, this requires
  1545.   additional system resources (especially more storage). The result is that,
  1546.   before the originator will have reacted upon the ICMP Source Quench, KA9Q's
  1547.   dynamic storage will be exhausted. (Several TCP/IP implementations even won't
  1548.   react upon ICMP Source Quenches at all). I don't know what really happens
  1549.   after that, probably this causes a deadlock somewhere else and KA9Q hangs...
  1550.  
  1551.   ...Now, whenever the high water mark is exceeded and a new
  1552.   packet arrives that packet is dropped immediately and no further storage is
  1553.   needed. The higher protocoll layers will keep track of retransmitting the
  1554.   dropped packets and a well-implemented TCP will even automatically adjust to
  1555.   the maximum possible transmission speed..."
  1556.  
  1557. - 'ax25 ttycall' sets tty-link call for direct keyboard access. Remember to
  1558.   make sure you have both 'attended on' and 'mbox attend on'.
  1559.   From Brandon Allbery, KF8NH
  1560.  
  1561. - AX.25 ports can have a 'cross-band digipeater only' callsign. If this call
  1562.   is set, digipeating works independent of the 'ax25 digiport' setting !
  1563.   (Connections to this call do NOT work)
  1564.   'ifconfig <iface> cdigi <call>' sets this.
  1565.  
  1566. - open file problem in List fixed.
  1567.  
  1568. - AX.25 RNR frame bugfix in lapb.c, from Mark, ve3dte
  1569.  
  1570. - value given to g8bpq nodes for rtt corrected, from Mark, ve3dte
  1571.  
  1572. - more system information via finger server (modified from N7IPB). Valid
  1573.   are now:  iheard,mstat,info,ax25,netrom,tcpview,memstat,socket,asystat,
  1574.   ifconfig and rip
  1575.  
  1576. - from N7IPB:
  1577.  
  1578.   * Interface names are now case insensitive
  1579.  
  1580.   * Support for F11 and F12 (control,shift,alt) added
  1581.  
  1582.   * Delay added on startup before enabling 'more'.
  1583.  
  1584.   * domain ttl  - Select a default ttl value to be applied to server
  1585.                        responses that contain none.
  1586.  
  1587.   * domain dump - Clears the domain cache
  1588.  
  1589.   * domain update - Allows you to control whether or not your domain.txt file
  1590.                     is updated with server responses
  1591.  
  1592.   * domain subnet - Works in conjunction with 'domain translate' to allow or
  1593.                     disallow translation of any address ending in 0 or 255. 
  1594.                     On systems that have a lot of subnets this can result in
  1595.                     a considerable speedup when displaying routes with domain
  1596.                     translate on.
  1597.  
  1598.   * ipmerge now correctly merges routes of the form 'x.x.x.x ax0 x.x.x.x'
  1599.     where the two addresses are identical and a previous route exists for
  1600.     this address. This fixes a nasty routing problem on subnets that have
  1601.     multiple routers.
  1602.  
  1603. - mail system messages are now more verbose.
  1604.  
  1605. - bug with mailbox 'KM' command fixed.
  1606.  
  1607. - mailfor.c now also uses the mail index files.
  1608.  
  1609. - ax25 beacon text can now be set per interface with
  1610.   'ifconfig <iface> beacon [bctext]'
  1611.   If you set 'ax25 bctext' before interfaces are attached, all ax.25
  1612.   interfaces will have this bctext as default.
  1613.   If you set 'ax25 bctext' after one or more ax.25 interfaces have been
  1614.   attached, only those with no bctext will get the new bctext.
  1615.   (Remember, you still have to enable ID-ing with 'ax25 bcport' !)
  1616.  
  1617.  
  1618.  
  1619. 1.10x3 (930622)
  1620.  
  1621.  
  1622. - mailbox works with index files. Much faster ! Before you run this you
  1623.  should build index files by running MAIL2IDX.EXE. See the section above
  1624.  'MAIL INDEX FILES' for more. If JNOS doesn't find any index files in the
  1625.  mail directory at startup, it will warn you to run MAIL2IDX.EXE
  1626.  
  1627. - mailbox 'LS subject' lists messages in current mail area with 'subject'
  1628.   in the subject line.
  1629.  
  1630. - 'ax25 bbscall' now changes or sets all interfaces where bbscall is not set
  1631.   to the bbscall. 'ax25 mycall' will not override bbscall anymore, once it has
  1632.   been set. You should
  1633.   1 - set 'ax25 mycall xyz-#'
  1634.   2 - 'attach' all interfaces
  1635.   3 - set 'ax25 bbscall xyz-#' or 'iface <name> bbscall xyz-#'
  1636.  
  1637. - smtp server bid memory leak fixed (N5KNX).
  1638.  
  1639. - smtp server Ctrl-Z in lines now handled.
  1640.  
  1641. - pop2 and pop3 servers are now case insensitive for commands.
  1642.  
  1643.  
  1644.  
  1645. 1.10x2 (not released)
  1646.  
  1647.  
  1648. - mods to pop3 server to fix long line reboots. From Ross Patterson, N4YYH
  1649.  
  1650.  
  1651.  
  1652. 1.10x1 (930609)
  1653.  
  1654.  
  1655. - mailbox problem with remembering last read if a Ramdrive is used
  1656.   is fixed. From N5KNX
  1657.  
  1658. - mailbox fixed to allow for ^Z at end of line when sending mail.
  1659.   Allows FBB to forward better. From N5KNX .
  1660.  
  1661. - obscure bug in ax.25 bctext fixed, from Brandon Allbery, KF8NH
  1662.  
  1663. - pop3serv.c fixed for files > 32k
  1664.  
  1665. - G8BPQ NET/ROM Extension handshaking added to Connreq/Connack packets.
  1666.   G8BPQ nodes are now indicated in the netrom route displays.
  1667.   JNOS will reply to G8BPQ nodes in BPQ style if "netrom g8bpq" is on.
  1668.  
  1669. - 'convers maxq' should now work.
  1670.  
  1671. - drastic clean-up of prototyping in source modules. Most all warnings
  1672.   are gone (apart from a few in the gracilis drivers). Also fixed some .asm
  1673.   modules for 80186 and above.
  1674.  
  1675. - commented out net/rom raw sockets; saves 0.5k
  1676.  
  1677. - session screens when swapped out (ie. not the active session)
  1678.   can now be saved in 4 different modes. This can save conventional memory.
  1679.   Modes are:
  1680.   0 - in EMS (if available), this is now the default mode.
  1681.   1 - in XMS (if available and no EMS) (Note: NOT! functional yet)
  1682.   2 - in conventional memory, the previous method. Used if EMS/XMS doesn't exist.
  1683.   3 - in a temporary file. (Use only if you have a ramdisk for tmpfiles, or
  1684.       a fast harddisk with cache...)
  1685.  
  1686.   You can force options 1, 2 and 3 from the command line starting NOS with the
  1687.   -m# option, where # is 1, 2 or 3 ...
  1688.  
  1689.   The 'session' command display show the swap mode in use under the 'Sw'
  1690.   heading. E for EMS, X for XMS, M for Memory and F for File.
  1691.  
  1692.   You can show the current swap mode with 'session swap' or set it with
  1693.   'session swap E|X|M|F' for Ems, Xms, Memory, or File.
  1694.  
  1695. - user registration code from K5MG added (with mods)
  1696.   Mailbox "register" command registers users. The file /spool/mreg.txt will
  1697.   be shown to users attempting this...
  1698.  
  1699. - rewriting of the files-naming code (for -f option), saves 1.5k
  1700.  
  1701. - deleted POP option from config.h; it's functionality is duplicated
  1702.   in POP2XXXX
  1703.  
  1704. - PPP option negotiation bug fixed, from D. Myers.
  1705.  
  1706. - 'mbox jumpstart' is gone.
  1707.   You can now define a bbs call with 'ax25 bbscall'. Default is ax25 mycall
  1708.   value. The bbscall will be automatically set on appropriate interfaces
  1709.   and depending on whether the interface drivers call setencap() (not all do).
  1710.   Or you can set it with 'iface <iface> bbscall <bbscall>'
  1711.  
  1712.   Jumpstart now works as follows:
  1713.   NO connections to the interface hwaddress get jumpstarted.
  1714.   ALL connections to the bbscall for each interface, or ax25 alias
  1715.   get jumpstarted.
  1716.  
  1717.   This should solve all problems with wrong jumpstarts,
  1718.   as long as hwaddress is not equal to bbscall !
  1719.  
  1720.  
  1721. JNOS 1.09 (Never 'officially released')
  1722.  
  1723. - from Lars, sm6rpz:
  1724.   * 'mem efficient' command deleted, since it has been totally
  1725.   useless for "eons" :)
  1726.  
  1727.   * ax.25 dis-connected state transition memory overwrite problem fixed.
  1728.  
  1729.   * tcp_reset problem fixed.
  1730.  
  1731.   * iface detach routines clean out ax.25 routes.
  1732.  
  1733.   * makeroutes() in rspf.c bug fix.
  1734.  
  1735. - rewrite file now ignores additional spaces and tabs; from kd4cim
  1736.  
  1737. - kiss.c time-problem in interface-send fixed.
  1738.  
  1739. - "exit" command from the keyboard now asks if you want to do it.
  1740.   (if not from keyboard, this is skipped...)
  1741.  
  1742. - 'at' command is now a process, solves lots of problems...
  1743.  
  1744. - convers.c /p and memory problems fixed, from VE3DTE
  1745.  
  1746. - duplicate bid in smtpserv solved, from KD4CIM
  1747.  
  1748. - smtp looping 'hard' fix: if it occurs, message is dropped.
  1749.   (a '550' error code is sent, causing a 'hard-error')
  1750.  
  1751. - xspawn dropped from distribution because of many problems reported.
  1752.  
  1753.  
  1754. 1.08df (930404)
  1755.  
  1756. From WA3DSP:
  1757. This source code is JNOS108D with most all prototype errors corrected.
  1758. Those not corrected are in some drivers - in particuliar the twin drivers.
  1759. Also other nagging errors have been corrected.
  1760. A compile should show NO errors unless you are using a module I was not
  1761. when I went over this.
  1762. Also - 
  1763. - DOS 6.0 support added in MAIN
  1764. - ASM's are 386 compliant
  1765. - Makefile has 386 compile option
  1766. - Makefile uses strictly autodepend - no .h dependecies required - works
  1767.   good for borland c 3.1 - This makefile should be included as an option
  1768.   for those using it!! It is much more reliable and less subject to problems.
  1769. - Ifdef's added on modules - some may still be missing - decreases compile 
  1770.   time significantly when that module is not defined 
  1771. - Some other minor fixes.
  1772.  
  1773.  
  1774. 1.08d (930311)
  1775.  
  1776. - new tipmail.c from Doug, wa3dsp
  1777.  
  1778. - 'domain startdns' is gone. Domain Name Server can be turned on and off,
  1779.   with 'domain dns [on|off]'
  1780.   Also found a problem in getline.c where domain.txt is read...
  1781.  
  1782. - convers server has been optimized to send less multiple-packet responses.
  1783.  
  1784. - 'convers allow' is now replaced with 'convers filter'
  1785.   'convers filter mode [accept|refuse]' shows or sets the mode (default refuse)
  1786.   'convers filter [ipaddress|hostname]' add an ip address to the filter
  1787.   table.
  1788.   If filter mode is refuse, then convers links from hosts in the list will
  1789.   be refused. If filter mode is accept, then only links from hosts in the
  1790.   list will be accepted.
  1791.  
  1792.  
  1793. 1.08c (930305)
  1794.  
  1795. - several system errors and permission infringements will now send
  1796.   a message to the user 'sysop'.
  1797.   This is controlled with 'error [on|off]'. Default is on.
  1798.  
  1799. - BBS R:-line sends message BID as well
  1800.  
  1801. - local fingers now work. Eg 'finger johan'
  1802.  
  1803. - several Turbo-C 2.0 compile problems fixed; from Jim Dugal, N5KNX
  1804.  
  1805. - Mailbox R/V/K commands allow message ranges... Eg: 'R 1-4', from N5KNX
  1806.  
  1807. - problems with smtp BID checking should be fixed...
  1808.  
  1809.  
  1810. 1.08b (930224)
  1811.  
  1812. -smtp server bid problem fixed.
  1813.  
  1814. -finger server fixed
  1815.  
  1816.  
  1817. 1.08 (930222)
  1818.  
  1819. - all commands that effect interface flags have new syntax.
  1820.   They now need ON or OFF to set the state of the flag.
  1821.   If no interface is given, all interfaces with the flag set will be shown.
  1822.   If interface is given, but no on|off, then the state of the flag will
  1823.   be shown.
  1824.  
  1825.   Eg:
  1826.   ax25 bcport
  1827.         will show ALL active ax.25 beacon interfaces
  1828.   mbox hideport 2m
  1829.         will show the state of the interface '2m'
  1830.   convers interface 2m on
  1831.         will turn on convers call access on interface '2m'
  1832.   ax25 digipeat 2m off
  1833.         will turn off digipeating on interface '2m'
  1834.  
  1835.   The command affected are:
  1836.  
  1837.   mbox ax25only [iface] [on|off]
  1838.   mbox useronly [iface] [on|off]
  1839.   mbox sysoponly [iface] [on|off]
  1840.   mbox bbsonly [iface] [on|off]
  1841.   mbox mport [iface] [on|off]
  1842.   mbox hport [iface] [on|off]
  1843.   convers interface [iface] [on|off]
  1844.   ax25 digipeat [iface] [on|off]
  1845.   ax25 bcport [iface] [on|off]
  1846.   ax25 hport [iface] [on|off]
  1847.   ip hport [iface] [on|off]
  1848.   arp poll [iface] [on|off]
  1849.   arp eaves [iface] [on|off]
  1850.  
  1851.   NOTE that ax.25 ports now default to ON for:
  1852.   beacon, mail-id, digipeat, ax-heard and ip-heard !!!
  1853.  
  1854. - the BID checking in the SMTP server (from 1.05) now works !
  1855.   if a 'Message-Id: ' line is received with a valid BID format
  1856.   (ie. 'BID#@Bbscall.bbs' format), then the BID will be cross checked
  1857.   with the ax.25 bid file ('history' file). If a duplicate, response will be
  1858.   "452 Duplicate BID in Message-Id line\n";
  1859.  
  1860. - 'repeat [interval in ms] command (from new ka9q, ported by wa3dsp)
  1861.   Starts a new session screen with the output of the command updated
  1862.   every interval ms. If you hit F10 it ends the session.
  1863.   Eg: repeat 1000 t s
  1864.   (repeat every second 'tcp status' command)
  1865.  
  1866. - buckbook support driver updated; again, this is NOT tested !.
  1867.  
  1868. - for all AX.25 ports, you can now indicate what kind (if any) of mailbox
  1869.   connections are allowed.
  1870.  
  1871.   mbox noax25 [<iface>] [on|off]
  1872.         shows or setss the 'no ax25 maibox connections.
  1873.         This prohibits mailbox connects, but still allows IP in VC mode.
  1874.  
  1875.   mbox bbsonly [<iface>] [on|off]
  1876.         shows or toggles 'bbs only' per port. The IS_BBS bit
  1877.         in /ftpusers has to be set in order to be able to login to the bbs
  1878.  
  1879.   mbox usersonly [<iface>] [on|off]
  1880.         shows or toggles the 'users only' flag. Any call with the IS_BBS
  1881.         flag NOT set can login to the bbs via this port
  1882.  
  1883.   mbox sysoponly [<iface>] [on|off]
  1884.         shows or toggles the 'sysop only' flag. Any
  1885.         call with sysop permissions can login to the bbs via this port.
  1886.  
  1887.   NOTE: this does NOT work for NET/ROM and TCP connections, since for those
  1888.   protocols there is no real concept of incoming port...
  1889.  
  1890. - TIP MAILBOX improvements from Doug Crompton, WA3DSP
  1891.   CD is now detected and influences the login, and XMODEM transfers can
  1892.   be done with TIP logins. Here is what Doug writes about it:
  1893.  
  1894. NEW commands  -
  1895.  
  1896. 'start tip <interface> <terminal|modem> [timeout seconds]'
  1897. BBS added commands - 'dx <filename>' , 'ux <filename>'
  1898. Deleted command - 'mbox tiptimeout'
  1899.  
  1900. Tip code has been extensively modified. It now works with a terminal
  1901. (3 wire connect) or modem (CD)  Two tiers of timers, the first being
  1902. set on the 'start tip' command line and the second "grace" timer fixed
  1903. at 1 minute. CD loss is unconditionally detected. 
  1904.  
  1905. Tip timeout timers should not effect xmodem as long as they are not set
  1906. shorter than xmodem timeout - 120 seconds. Tip default is 180 seconds.
  1907. The 'mbox tiptimeout' command has been taken out - setting is in the
  1908. start tip command line.
  1909.  
  1910. Phone connects, and xmodem successful up/downloads are logged if logging
  1911. is turned on. xmodem BBS commands are only available with tip connects.
  1912. Only 128 byte xmodem packets are allowed at this time. This is the standard
  1913. original xmodem format that is supported on most all comm programs.
  1914.  
  1915. Note that most internal modems do not use a 16550. Therefore on heavily
  1916. loaded NOS systems it might be desireable to use an external modem with
  1917. a 16550 serial port. I have not run my system above 2400 baud using an
  1918. internal modem. Based on what I see on my system I would expect that
  1919. a 16550 interface would be a requirement for higher baud rates - I.E 9600.
  1920.  
  1921.  
  1922. - 'convers maxq' command sets or shows the maximum transmit data outstanding
  1923.   on convers links (permlink or other) before a hostlink is rudely reset.
  1924.   Default is 5kb (ie 5120 bytes)
  1925.  
  1926. - Bulletins with NO BID can be refused if 'mbox nobid off'
  1927.   off means refuse them, on means accept. Default is OFF, ie refuse !
  1928.  
  1929. - NOTE: the 'mbox haddress' now NEEDS THE CALLSIGN !!!
  1930.   eg:  mbox haddress WG7J.OR.USA.NA   !!
  1931.   The First part (ie WG7J) will be used to assign BID/MID's from our
  1932.   system, eg 1234_WG7J
  1933.  
  1934. - device files etc. can not be opened anymore; ie no more finger crashes
  1935.   to 'CON' 'AUX' etc...
  1936.  
  1937. - bug in 'route lookup' fixed
  1938.  
  1939. - Mbox forwarding now marks ALL messages that received the 'NO'
  1940.   reply as forwarded.
  1941.  
  1942. - Mbox forwarding now sends all mail in areas starting with 'nts'
  1943.   as traffic, ie. with 'ST'.
  1944.  
  1945. - a finger to 'links' will shows all convers links at the system.
  1946.  
  1947. - fixed 'ftp mput' command.
  1948.  
  1949. - 'convers maxwait' sets the maximum time to wait before trying to
  1950.   re-establish a link, after convers links have timed out.
  1951.  
  1952. - you can now undefine the mail commands (S,R,K,V etc) from the mailbox
  1953.   interface, do '#undef MAILCMDS' in config.h
  1954.  
  1955. - if the first chararcter of a function key definition is the '~' char,
  1956.   the following characters will be sent to the command session, and
  1957.   NOT the current session. Command sessions becomes the active one.
  1958.   Eg. fkey 63 "~ps\n"  allows you to do a ps from any session (output
  1959.   will go to command session, wich is made active immediately)
  1960.  
  1961. - small problem with non ampr.org. domain names in domain.c (resolve_a())
  1962.   fixed.
  1963.  
  1964. - there is no limit of 10 mbox/convers-call users anymore; now only limited
  1965.   by memory resources...
  1966.  
  1967. - mailbox gateway escape char defaults to ctrl-T, to accomodate tnc's (wich
  1968.   use the formerly used ctrl-X for line editing)
  1969.  
  1970. - mailbox disconnect when sending a message and it cannot create tempfiles
  1971.  
  1972. - message numbers are now in the range 1-99999 (in smtpserv.c)
  1973.  
  1974. - 'ax25 dest' is now same as 'ax25 hearddest'
  1975.  
  1976. - tip incoming sessions fixed, go to mailbox again.
  1977.  
  1978. - even when netrom is not active, you can still set an alias callsign
  1979.   for users to connect to.
  1980.   'ax25 alias' sets or displays it. Old 'netrom alias' modifies the same call!
  1981.  
  1982. - duplicate MID problem fixed in smtpserv.c, from KO4KS
  1983.  
  1984. - ftp server tells file size before transfer starts, from N1BEE
  1985.  
  1986. - 'mbox header off' also turns off 'mbox thirdparty' !
  1987.  
  1988. - xspawn shelling modified. Seems to fix most problems.
  1989.   Known to still lock up with some ethernet drivers.
  1990.   From Brian Lantz, KO4KS
  1991.  
  1992. - OS/2 multitasking now correctly recognized, from N1BEE
  1993.  
  1994. - added pop2serv.c and pop3serv.c from N1BEE's v0.85 release.
  1995.  
  1996. - small nr4 fix from N1BEE
  1997.  
  1998. - fix for pi driver, from Dave, ve3ifb
  1999.  
  2000. - stktrace added to buffer-overwrite in sockuser.c; to help trace this.
  2001.  
  2002.  
  2003. 1.07b (921217)
  2004.  
  2005. - 'mbox motd' is gone; instead, the contents of the file /spool/motd.txt
  2006.   will be shown when users login to the bbs.
  2007.  
  2008. - 'fmotd' is gone; instead, set the ftp message of the day in the file
  2009.   /spool/ftpmotd.txt . It will be shown before the ftp login sequence starts.
  2010.  
  2011.  
  2012. 1.07  (921215)
  2013.  
  2014. - smtp client has been modified.
  2015.   'smtp t4' sets a timeout limit (in seconds) for attempts to deliver mail.
  2016.   If t4 is 0 (default), behaviour is as before (direct delivery is attempted
  2017.   to the host or mx-host.)
  2018.   If t4 is set, behaviour changes as follows:
  2019.   If a connection has not been established in t4 seconds, the mail will
  2020.   be attempted to be delivered to the 'smtp gateway' (if one is defined)
  2021.  
  2022. - pop code has been modified to hopefully eliminate potential crashes.
  2023.   (from Mike Billow, N1BEE)
  2024.  
  2025. - socklen() fixed for netrom L4. From Paul Healy, EI9GL
  2026.  
  2027. - lower case only stuff in ftp login eliminated. It is now correctly case-
  2028.   sensitive.
  2029.  
  2030. - added 'tcp blimit' to limit backoff for tcp connections.
  2031.  
  2032. - 'rip kick' added to send an immediate rip update. From Dave, ve3ifb
  2033.  
  2034. - mailbox now supports MID's on receiving and forwarding of messages.
  2035.  
  2036. - 'ftpusers' permissions can be set in hexadecimal, ie '0x32', or '50'
  2037.  
  2038. - mailbox escape checking can now be set to off in ftpusers file. Add
  2039.   #define NO_ESCAPE 65536
  2040.   to the permission for a user to have it default to no escape checking while
  2041.   gatewaying out. User can change the default. The mailbox 'E' command now
  2042.   works as follows:
  2043.   'E' shows status (ie. on/off) and escape character.
  2044.   'E arg'
  2045.         -if arg is one character, it is interpreted as the new escape char
  2046.         -if arg starts with a number, it is interpreted as the ascii number
  2047.          for the new escape char
  2048.         -else if arg starts with 'off' or 'dis' (not case ssensitive)
  2049.          then scape checking is turned off
  2050.         -anything else will turn escape checking on.
  2051.  
  2052. - 'more' and 'dir' commands now work correctly from remote sysop.
  2053.    Note that there currently is NO -more-? prompting when executed from
  2054.    remote !
  2055.  
  2056. - Forward polling added. If there are no message to be sent to the bbs,
  2057.   the system will poll the remote bbs for messages when the forward timer
  2058.   expires.  Simply add a 'P' to the end of the first line in the forward.bbs
  2059.   script. Thus the format is now either
  2060.   <bbsname> P
  2061.   or
  2062.   <bbsname> <[time]...[time]> P
  2063.  
  2064. - Extended IP access code. (usefull for gateways only)  NOTE: this is
  2065.   NOT compatible with the old version. Ie. modify your autoexec.nos !!!
  2066.   Here is the new command format:
  2067.  
  2068.   access <state> <proto> <src>[/<bits>] <dest>[/<bits>] <if> [<low> [<high>]]
  2069.  
  2070.   where:
  2071.  
  2072.   proto = {any|tcp|udp|icmp|<number>} (<number> = decimal IP protocol number)
  2073.   dest  = Destination IP address (or "any"), just like <src>
  2074.  
  2075.   The rest of the parameters are the same as before.  The port parameters are
  2076.   used only if proto is "tcp" or "udp"; they are ignored otherwise.
  2077.  
  2078.   Here are some examples:
  2079.  
  2080.   ip access permit any  192.111.106/24  all             eth
  2081.   ip access permit tcp  all             all             eth     25
  2082.   ip access permit tcp  all             all             eth     53
  2083.   ip access permit udp  all             all             eth     53
  2084.   ip access deny   tcp  all             130.137/16      eth     1       1023
  2085.   ip access deny   udp  all             130.137/16      eth     1       1023
  2086.   ip access permit any  all             all             eth
  2087.  
  2088.   Note that the new "ip access" command format is incompatable with the old.  I
  2089.   guess I could have made it backward compatable, but I thought it would look
  2090.   ugly if I did.
  2091.  
  2092.   The "ip access" command code could probably stand some additional error
  2093.   checking on parameters.  For example, only the first letter of the protocol
  2094.   is used (e.g., "ijkl" == "icmp").  If the low port is set to zero, this
  2095.   means ignore the port numbers (the same as "all" or just leaving them out),
  2096.   whereas it probably ought to generate an error.
  2097.  
  2098.  
  2099. - automatic personal information for convers users.
  2100.   When a user log in, either from mbox, convers call, or convers server,
  2101.   the Cinfo file is searched for the user name. The Cinfo file defaults to
  2102.   /finger/dbase.dat. Name and text need to be separated with a space or tab.
  2103.   Everything that follows the name will be set as the personal info.
  2104.   Note that the default file is the SAME as the finger database file !!!
  2105.   However, this can be changed with the 'Cinfo' line in the filename config
  2106.   file described below. (-f command line option)
  2107.   Eg. if the Cinfo file contains the line
  2108.   'wg7j Johan, in Corvallis, OR, USA'
  2109.   then when wg7j logs in to your server, his /p info will be set to
  2110.   'Johan, in Corvallis, OR, USA'
  2111.  
  2112. - command recall feature.
  2113.   Command are saved in a circular buffer of a size that can be set with
  2114.   'history #', eg. 'history 10', which is the default.
  2115.   'history' will show the maximum set, and the history list kept.
  2116.   'history 0' disables the feature.
  2117.  
  2118.   The up-arrow and down-arrow will cycle through old commands when in the
  2119.   command session. No editing (yet), just recall.
  2120.  
  2121. - added case-insensitivity to convers loop detection code, to handle other
  2122.   convers systems better...
  2123.  
  2124. - fixed some defines to allow MAILBOX to be undefined in config.h
  2125.  
  2126. - sockuser() 'protected' against overwriting of output buffers. System will
  2127.   write a message to the log file, and then reboot :-(
  2128.  
  2129. - mailbox forwarding R: line needs to be explicitely turned on with
  2130.   'mbox header on'
  2131.  
  2132.   This is so that regular users can forward from jnos to another system
  2133.   designated as full-service bbs, without leaving a trace of their system.
  2134.   This avoids other bbs systems marking them as a fullservice bbs.
  2135.  
  2136.   (The elements of the R: header are now optional. If not set, they will
  2137.    not show in the line, instead of show as 0 or null-strings.)
  2138.  
  2139. - some more stuff from wa3dsp:
  2140.  
  2141.   * 'prompt on|off'  - defaults to off
  2142.     Turns ON or OFF the display of the current directory at the command prompt
  2143.  
  2144.   * Commands - rename, copy, dir, cd, pwd, more, tail, del, mkdir rmdir
  2145.   now use fully qualified names based on the command session current
  2146.   directory. This directory can be ANY valid drive/directory on the
  2147.   system.
  2148.  
  2149.   The command session current buffer assumes the current directory at
  2150.   NOS startup. When 'cd' is exercised at the net prompt the ACTUAL
  2151.   dos drive and or directory are never changed. Instead the path on a
  2152.   per drive basis is stored in a structure known to the command session.
  2153.   Filenames are built into fully qualified names using the path and supplied
  2154.   name.
  2155.  
  2156.   This is the same way it is done in the FTPCLI in my previous mods.
  2157.   PLEASE advise if there are any other commands that should use this method
  2158.   that I may have missed.
  2159.  
  2160.   * Option added to MORE  - more <filename> [searchstring]
  2161.     If searchstring is specified only lines containing the string are displayed.
  2162.  
  2163.     more /spool/log bbs           - display lines in logfile with the text "bbs"
  2164.     more /autoexec.nos netrom     - display lines with text netrom
  2165.     more myfile "text to display" - if text contains spaces use quotes!
  2166.  
  2167.    * Option added to domain - domain look <searchstring>
  2168.      This is just a call to the 'more' command with the '/domain.txt' file
  2169.      specified.
  2170.         domain look 44.80.8
  2171.         domain look wa3dsp
  2172.  
  2173. - All files in nos now can be on any drive and directory. A 'file-naming'
  2174.   configuration file can be named on the command line with the -ffilename
  2175.   option. (If filename is not given, the -f option will be ignored)
  2176.   Eg:  nos -fnos.cfg
  2177.  
  2178.   The format of the config files is as shown in the accompanying nos.cfg.
  2179.   Ie. filename = directory-or-file-path, where dir-or-file-path can be any
  2180.   valid path or filename.
  2181.  
  2182.   This now allows things to be in places that optimize the speed; ie; you
  2183.   can copy certain things to ramdrives etc before running nos, and then
  2184.   use the much faster access times to improve speed...
  2185.  
  2186.   You can still use the -d option to set a new 'root' directory for nos.exe,
  2187.   but it is only usefull if used before the -f option. If you use -d,
  2188.   then you can use the -f to move some files to non-standard directories
  2189.   by simply commenting out the files you don't want moved...
  2190.   eg.   nos -d/nos -fnos.cfg    is valid
  2191.   but   nos -fnos.cfg -d/nos    causes the -d to be ignored !!!
  2192.  
  2193. - XSPAWN library (c) Whitney Software used to allow swapping out of JNOS
  2194.   when shelling to dos. This allows shelling out at all times, with a full
  2195.   size dos memory available !! Ie. Full applications can be run; JNOS is
  2196.   INACTIVE at this point!. Compile time option is XSPAWN. (MULTITASK is NOT
  2197.   available when XSPAWN is used !)
  2198.  
  2199.   Swapping is to EMS, if available, or to disk. Disk swapping is to the
  2200.   current drive. You can set a directory path to try and store the disk image
  2201.   with the new command line switch -x. (if you have ems, this isn't usefull)
  2202.         eg. nos -xc:\;d:\
  2203.  
  2204.   From the manual.doc of the xspawn code:
  2205.  
  2206.         " Each separate path specifier in the _swappath string (separated by a
  2207.         ;) can contain a drive, a directory, or both.  If you do not specify
  2208.         a drive, XSPAWN will use the current drive.  If the directory is not
  2209.         specified, XSPAWN will use the directory that is current on the
  2210.         target drive.
  2211.  
  2212.         You may be wondering why you would ever want to specify multiple
  2213.         paths.  To illustrate one use of this feature, let us say your system
  2214.         has a ramdrive called D: and a hard drive called C:.  Since writing
  2215.         to a ramdrive is many times faster than writing to a hard drive, you
  2216.         would naturally prefer to write the swap file to the ramdrive.  The
  2217.         problem is that there may not be enough space on the ramdrive to hold
  2218.         the swap file.  The _swappath string shown above would cause XSPAWN
  2219.         to try the ramdrive first and if there is insufficient space, to try
  2220.         the C: drive next.
  2221.  
  2222.         If a path does not exist, XSPAWN will skip it.  If XSPAWN can't store
  2223.         the swap file on any of the specified paths, it will return -1 and
  2224.         set errno to EACCES.  "
  2225.  
  2226.  
  2227.   According to the user policy, the complete source for the code is in
  2228.   xspawn.zip, inside the jnos107.zip source zipfile... Please read
  2229.   license.doc in xspawn.zip for more details.
  2230.  
  2231. - 'bulletin check' protected against too many forward bbs's (from Jerry, kd4cim)
  2232.  
  2233.  
  2234. 1.06B (921124):
  2235.  
  2236. - forward bug fixed; netrom forwarding works again
  2237.  
  2238. - arp display fixed
  2239.  
  2240. - rip now allows advertizing of route to yourself with the '2' flag
  2241.   (ala KarnCode) Eg: rip add 44.26.1.255 600 2
  2242.  
  2243. 1.06A (921121):
  2244.  
  2245. - cmdparse fixed to accept both tabs and spaces correctly (debugged from code
  2246.   by Mike Gallagher)
  2247.  
  2248. - twinvec.asm fixed for BC++3.1, dirutil.c for TC2.0
  2249.  
  2250. - screen sizing is now a command line option: -c# for colums, -r# for rows
  2251.   the 'stat' display now shows this, instead of 'info'. 'col' and 'row'
  2252.   commands are gone.
  2253.   IE. If your screen size is not sensed correctly, use:
  2254.   Eg: to run with 43x132 screen: nos -r43 -c132
  2255.   (note: this does not SET the video mode; your system has to be in that mode
  2256.   already !)
  2257.  
  2258. - tcp stat bug fixed.
  2259.  
  2260. VERSION 1.06 (921119)
  2261.  
  2262. - all commands setting interface flags now TOGGLE! Ie. first time the flag is
  2263.   set and the feature turned on, next time it is turned off, ad infinitum :)
  2264.   They are:
  2265.   convers port                  ax25 bport
  2266.   mbox mport                    mbox hide
  2267.   ax25 digi                     ax25 hport
  2268.   arp eaves                     arp poll
  2269.   ip hport
  2270.  
  2271. - 'tcp access' command added. Good for internet gateways. Defined with
  2272.    TCPACCESS switch in config.h
  2273.  
  2274. - IP heard logging. Turn on per interface with
  2275.   'ip hport <iface>'
  2276.   For ax.25 interfaces, logs all ip packets heard on the channel.
  2277.   For other interface types, logs ip packets that the system routed.
  2278.  
  2279.   'ip hsize' sets size of table. 0 means no limit!  Default is 8.
  2280.  
  2281.   Shown with with mailbox 'IH)eard' command, or with
  2282.   'ip heard'
  2283.   or you can now finger 'iheard' to get the list.
  2284.  
  2285. - AX25 heard logging needs to be turned ON per interface !!!
  2286.   'ax25 hport <iface>' does this. Use 'ax25 filter' still to set
  2287.   options for source or destinations. (1=no source address, 2=no dest. address
  2288.   3=no logging at all !)
  2289.  
  2290.   'ax25 hsize' sets maximum number of call in the total list (ie. NOT per
  2291.   interface !). 0 means no limit, and is the default !
  2292.  
  2293. - security hole in mailbox telnet permissions fixed.
  2294.  
  2295. - screen handling now senses the screen size correctly. Ie. you can use
  2296.   80x25,80x43, etc modes. With help from Ron Henderson, WA7TAS
  2297.   I tried to assure this works even with vga drivers that
  2298.   do not report correct sizes to the gettextmode() call (due to the fact
  2299.   that I work on a system that did this faultily :-). It's been tested
  2300.   in 80x25,80x28,80x43,80x50,132x50,132x60 modes.
  2301.   'info' will show the detected tty size.
  2302.  
  2303.   On some systems this still doesn't detect the screen size correctly;
  2304.   if so, set the number of rows and columns on you screen in the autoexec.nos
  2305.   file with 'rows #' and 'columns #' commands (this does NOT work from
  2306.   the command line !!!)
  2307.  
  2308.  
  2309. - new arp subcommands:
  2310.   'arp eaves [<iface>]'
  2311.   Display or set the 'arp eaves drop' functionality per interface.
  2312.   If set, all arp replies overheard on the interface will be logged in the
  2313.   arp table. This builds a large table on ethernet interfaces, but speeds up
  2314.   arp discovery, and might be usefull on radio interfaces.
  2315.  
  2316.   'arp maxq'
  2317.   Display or set the max number of packets waiting for an arp resolution
  2318.   to finish. Default is 5 packets.
  2319.  
  2320.   'arp poll [<iface>]'
  2321.   Display or set the 'arp keepalive polling' functionality per interface.
  2322.   If set, when an arp entry expires, a query will be sent for the address; this
  2323.   keeps the arp table fresh, but possibly retains lots of unneeded entries.
  2324.  
  2325.   'arp sort y/n', defaults to yes, to sort the arp display.
  2326.   (from Doug Crompton, wa3dsp)
  2327.  
  2328. - Added the PACKETWIN driver, for the Gracilis Packetwin Card.
  2329.   To use, define the 'PACKETWIN' option in config.h
  2330.   (Disclaimer: I have NOT tested this, but others have used it with my code :-)
  2331.  
  2332. - Added Doug Crompton's (wa3dsp) mods:
  2333.   route sort y/n
  2334.   tcp view bytes  - t v b
  2335.   tcp view timers - t v t
  2336.   icmp trace 0|1|2
  2337.   rdate server <ipaddress>
  2338.   rdate offset +-n
  2339.   'ftp' client commands: ?,help,lcd,ldir, and lmkdir (See w7jmods.txt for more)
  2340.   'dir' allows for drive letters.
  2341.   'ftp resume/rput' (see wg7jmods.txt)
  2342.  
  2343. - mbox 'IP' command shows non-private routes only.
  2344.  
  2345. - morecore failures are only logged to disk when 'mem debug' is on
  2346.  
  2347. - added nntpserv.c from Doug Crompton, WA3DSP
  2348.  
  2349. - fixed fifo setup for 16550's
  2350.  
  2351. - increased stack size for finger and ttylink servers to fix overflow problems
  2352.  
  2353. - forward connects to unknown netrom nodes now fail.
  2354.  
  2355. - fixed arp-calls in ax25aar.c
  2356.  
  2357.  
  2358. VERSION 1.05 (921021)
  2359.  
  2360. - at command allows events to be killed, and rescheduled. From Ron Henderson,
  2361.   WA7TAS.
  2362.   'at k <#>' to kill event #, where # is the number shown in the 'at' command
  2363.   'at [time] command+' to indicate recursion. Ie. after the command has been
  2364.   executed, timed execution will be started again.
  2365.   EG: at now+0005 dir+   will show a directory listing every 5 minutes
  2366.  
  2367. - fixed mkname.c for compile with tc2.0
  2368.  
  2369. - added domain name server fix for CNAME queries, from Don Sandstrom, KG7CP.
  2370.  
  2371. - new and improved tipmail.c from Milton Miller and Ben Thornton.
  2372.  
  2373. - asy flow control bug fixed in asytimer() (file i8250.c)
  2374.   from Milton Miller and Ben Thornton
  2375.  
  2376. - made 'Tick' volatile, to avoid problems. From Milton and Ben.
  2377.  
  2378. - when netrom routes are dropped, either due to obsolesence counter becoming
  2379.   zero or by a manual route drop, netrom connections using that route will
  2380.   now be be purged if that route was the only route left to the netrom
  2381.   destination.
  2382.  
  2383. - 'netrom connect' and 'netrom split' don't accept unknown node destinations
  2384.   anymore.
  2385.  
  2386. - 'MS' display changed; now has
  2387.   Core: 76096                   -> coreleft value in bytes
  2388.   Up: 3:19:46:59                -> up 3 days, 19 hours
  2389.   Logins: 49                    -> 49 total logins
  2390.   Users: 2                      -> currently 2 users
  2391.   Count: 19                     -> 19 different users have logged in
  2392.   Sent: 43                      -> users sent 36 messages
  2393.   Read: 186                     -> users read 186 messages
  2394.   Rcvd: 171                     -> got 171 msg forwarded to us
  2395.   Fwd: 124                      -> forwarded 124 message to other bbs's
  2396.  
  2397. - added 'finger database server'; the finger server now will read info
  2398.   from the file '/finger/dbase.dat', if there is no '/finger/username' file.
  2399.   Ie. if you finger 'johan@wg7j', and the file '/finger/johan' exists,
  2400.   it will be sent; if the file '/finger/johan' does NOT exist, the
  2401.   '/finger/dbase.dat' file will be scanned (exists.)
  2402.   The first line found in this file that starts with the 'username' requested,
  2403.   ie here 'johan', will be sent...
  2404.   EG: the '/finger/dbase.dat' file can contain:
  2405.   johan: WG7J, Corvallis, OR USA, ph.xxx-xxxx. EXTRA CLASS
  2406.   ka7ehk is Jim Wagner, in Tangent, OR. Technician license since 1795 :)
  2407.   etc...
  2408.   NOTE:
  2409.   if you have a line starting with 'johannes', a finger to 'johan' will show
  2410.   this line if it's the first !
  2411.  
  2412. - added  'copy <file> <newfile>' command.
  2413.  
  2414. - added 'timed' support, from Brian K. Teravskis, WD0EFL
  2415.  
  2416. - fixed buf in send_ax25() and send_nr4(), not freeing buffer if control
  2417.   block is invalid.
  2418.  
  2419. - display flowmode doesn't start until after the autoexec.nos file has been
  2420.   executed. Avoids lockups on remote systems.
  2421.  
  2422. - fixed forwarding with empty subject line in msg; now subject is "none".
  2423.  
  2424. - fixed '*** done' interpretation in forward.c (looking for -2 instead of 2!)
  2425.  
  2426. - bbs forwarding now can be 'scripted'. Format of forward.bbs file is expanded:
  2427.  
  2428.   w0rli                 <- still the bbs to forward to
  2429.   ax25 ax0 w0rli        <- still how to forward to
  2430.   [ multiples of:
  2431.   .send this text
  2432.   +continue if this string is received
  2433.   @wait_this_long for a reply  ]
  2434.   w0rli                 <- the areas to forward...
  2435.   pnw
  2436.   north
  2437.   -----------           <- end of this entry
  2438.  
  2439.   Valid connect-script lines are:
  2440.  
  2441.   '.' lines are like before. The text following will be sent over the
  2442.         connection.  This line doesn't need to contain text. In that case,
  2443.         a <cr> only gets send.
  2444.         NOTE: This will also reset the '+'  reply search string to null!
  2445.  
  2446.   '+' lines set a reply string to search for when a line is being received
  2447.         with the @ command.
  2448.  
  2449.   '@' lines set a timeout in seconds in wich to receive a line over the
  2450.         connection. This is the maximum time the system will
  2451.         wait for a reply. At this point, an attempt is made to receive a line
  2452.         from the connection in the time specified.
  2453.         If nothing is received after the timeout time, forwarding for this
  2454.         entry is cancelled.
  2455.         If something is received, and a search string set with the + command,
  2456.         forwarding will be continued only if the search string appears
  2457.         somewhere in the line received.
  2458.         If the search string was not set, forwarding is continued.
  2459.  
  2460.         NOTE: if the value after @ can not be converted to a number, the
  2461.         default is 90 seconds.
  2462.         NOTE: the search string is reset if forwarding continues after the
  2463.         @ command.
  2464.  
  2465.  
  2466.    You can have as many of these lines to establish a connection. They need
  2467.    not be in any particular order.
  2468.  
  2469.    CAVEAT:
  2470.    Replies from the connection need to be full lines; ie they have to be
  2471.    terminated by a proper end-of-line sequence. This means you can not wait
  2472.    for the login prompt from a NOS system, since those are NOT terminated
  2473.    with a end-of-line sequence. (see the examples)
  2474.    You need to know the EXACT reply from systems you connect through.
  2475.    Each @ command reads only one line of data from the connection (if
  2476.    any, offcourse). This means that if a system replies multiple lines
  2477.    after a connection is made, you need multiple @ commands. (see the
  2478.    examples below). This makes it hard to connect via systems that can
  2479.    have varying replies, like NOS systems that do not have your system
  2480.    marked as a BBS, and thus will send welcome messages and varying
  2481.    message-of-the-day etc...
  2482.  
  2483.  
  2484. Some examples:
  2485.  
  2486. 1- a connection via a netrom neigbour:
  2487.         w0rli
  2488.         ax25 ax0 k7uyx-1        <- initial connection to netrom node
  2489.         .c rlimb                <- ask for a netrom connect from this node
  2490.         +Connected              <- if we don't get this, things went wrong
  2491.         @60                     <- maximum one minute wait !
  2492.         w0rli                   <- forward these areas...
  2493.         pnw
  2494.         allor
  2495.         ---------
  2496.  
  2497. 2- a connection via a JNOS system .
  2498.    This assumes that you are marked as a BBS at the JNOS system, so that
  2499.    you only get a '[JNOS...] and '>' prompt...
  2500.  
  2501.         n7dxt
  2502.         ax25 iposu              <- initial connection to the JNOS system
  2503.         +[JNOS                  <- wait for sign-on message from the JNOS box
  2504.         @15                     <- don't wait longer then 15 seconds
  2505.         +>                      <- wait for the prompt
  2506.         @15                     <- wait 15 seconds at the most
  2507.         .c ax0 n7dxt            <- next, request a gateway connect
  2508.         +Trying                 <- NOS replies it's trying...
  2509.         @15                     <- wait 15 secs max.
  2510.         +Connected              <- wait for 'IPOSU:WG7J-3} Connected to N7DXT'
  2511.         @60                     <- wait 60 secs max
  2512.         n7dxt                   <- send these following areas
  2513.         pnw
  2514.         allor
  2515.         ----------
  2516.  
  2517. 3- A connection to a JNOS system, and from there a telnet to a remote bbs
  2518.    (again, assumes your system is marked as a bbs !)
  2519.  
  2520.         wg7j
  2521.         ax25 con iposu          <- initial connection to JNOS
  2522.         +[JNOS                  <- sign-on from JNOS
  2523.         @15                     <- shouldn't take too long
  2524.         +>                      <- next is the prompt
  2525.         @15                     <- not too long either
  2526.         .t wg7j.ampr.org.       <- ask for a telnet connect
  2527.         +Trying                 <- JNOS is trying
  2528.         @15                     <- should come pretty soon
  2529.         +connected              <- wait for '*** connected to xxx'
  2530.         @45                     <- might take a while
  2531.         @30                     <- wait for another (blank) line
  2532.         +NOS                    <- now come the telnet sign-on message
  2533.         @30                     <- wait for this
  2534.         @30                     <- after this is a blank line, wait for it
  2535.         .w0rli                  <- now we get 'login:' and "Password:" prompts,
  2536.         .whomever               <- but they have no <cr>'s, so just answer
  2537.         sysop                   <- we're there, forward these areas.
  2538.         allor
  2539.         wg7j
  2540.         pnw
  2541.         nos
  2542.         ------
  2543.  
  2544. - '/sounds y|n' in convers added. This turns the bells on or off.
  2545.   Ie. if you don't want the bell if new users log on, do a '/s n' after
  2546.   you logon.
  2547.  
  2548. -'mbox hideport [<iface>]'
  2549.  Set or show the 'hide' flags on interfaces. If this flag is set, the mailbox
  2550.  'P' command will not list this interface for ax.25 connection, unless the user
  2551.  has sysop priviledges.  AX.25 gateway connections are also dis-allowed,
  2552.  unless the user has sysop privs. (This is good for stuff like forward-only
  2553.  ports, etc...)
  2554.  
  2555. - fixed scanning of the '/p' command in convers server.
  2556.  
  2557. - smtp server accepts messages to areas with sub-directories.
  2558.  Eg. you can now receive mail for rec.radio.packet, or
  2559.  test/toys, or rec\ham
  2560.  These messages will be placed in the right subdirectory under /spool/mail.
  2561.  CAVEAT: the subdirectory HAS TO EXIST when the mail is received!! It
  2562.  is not created.!!!
  2563.  (Ie. int the above, /spool/mail/rec/radio, /spool/mail/test have to exist!)
  2564.  
  2565. - mailbox keeps track of new mail in areas since user last logged out.
  2566.  If 'mbox newmail on', user will get notified on login wich areas have
  2567.  new mail. New mbox 'AN' command gives the same information.
  2568.  (default is on)
  2569.  
  2570. - the interface flag field, as shown in the 'ifconfig' command,
  2571.   has more use. It's bits have the following meanings:
  2572. #define CONNECT_MODE    1   /* Send datagrams in connected mode */
  2573. #define IS_NR_IFACE     2   /* Activated for NET/ROM */
  2574. #define NR_VERBOSE      4   /* NET/ROM broadcast is verbose */
  2575. #define IS_CONV_IFACE   8   /* Activated for conference call access */
  2576. #define AX25_BEACON     16  /* Send AX.25 beacons */
  2577. #define MAIL_BEACON     32  /* Send MAIL beacons */
  2578. #define HIDE_PORT       64  /* Don't show port in mbox P command */
  2579. #define AX25_DIGI       128 /* Allow digipeating */
  2580.  
  2581. - convers configuration is now done with commands, and not the convers.cfg
  2582.   file any more. New 'convers' command has subcommands :
  2583.  
  2584.   allow [ipaddres|hostname]
  2585.         - if set, only hosts in this list will be allowed to link to us
  2586.           This does NOT effect regular users.
  2587.           Host to allow can be set with multiple 'convers allow' commands
  2588.           Typing 'convers allow' shows the hosts to allow.
  2589.  
  2590.   hostname [name]
  2591.         - set or show the convers host name as announced to users and
  2592.           across links. 10 chars max. When the 'hostname' command is
  2593.           executed, the 'convers hostname' is automatically set to the
  2594.           10 first chars of it, and if '.' are found from the right,
  2595.           they terminate the string.
  2596.  
  2597.   interface [<iface>]
  2598.         - activate interface <iface> for ax.25 convers call connections.
  2599.          with no argument will show active interfaces.
  2600.  
  2601.   mycall [call]
  2602.         - set or show the ax.25 convers call.
  2603.  
  2604.   link  [<hostname|ip-address>] [linkname]
  2605.         - add a convers link to the system at hostname or ip-address.
  2606.           linkname is optional, and sets the name of the link.
  2607.           (It will be replaces once the remote systems announces it's
  2608.           true name...)
  2609.  
  2610.   t4 <seconds>
  2611.         - set or show the ax.25 t4 timeout value for conference call
  2612.           connections. Default is 7200, ie 2 hours.
  2613.  
  2614. - user permission bit to disallow convers access from mailbox or
  2615.   from convers call.
  2616.   #define NO_CONVERS 32768
  2617.   If set, user will not be allowed to give the 'C' command, or connect
  2618.   to the convers call.
  2619.  
  2620. - fixed double <cr> bug in convers personal data across links. Also fixed
  2621.   month display in links-listing.
  2622.  
  2623. - 'netrom verbose' is gone. 'netrom interface' now defaults to none-verbose
  2624.   and the additional 'v' makes it verbose. EG:
  2625.   netrom interface ax0 192      -> non-verbose broadcasting
  2626.   netrom interface ax0 192 v    -> verbose broadcasting
  2627.  
  2628. - 'ax25 confcall' and 'ax25 ct4' are gone. See above.
  2629.  
  2630. - 'ax25 digipeat [<iface>]' now shows or sets digipeating per interface.
  2631.   All interfaces default to no digipeating when first attached !
  2632.  
  2633. - new 'ax25 bcport [<iface>]' command. Sets or displays the ports that
  2634.   ax.25 beacons are sent out on. You need one for each interface you want
  2635.   to beacon on. Eg:
  2636.   ax25 bcport ax1
  2637.   ax25 bcport vhf
  2638.   (beacon interval and text are still set with 'ax25 bcinterval' and
  2639.    'ax25 bctext')
  2640.  
  2641. - new 'mbox mport [<iface>]' command. Sets or displays the ports that
  2642.   'Mail for:' beacons go out on. You need one for each interface you want the
  2643.   mail-beacon to be sent out. Eg:
  2644.   mbox mport ax1
  2645.   mbox mport vhf
  2646.  
  2647. - new 'mbox sendquery'. If set, the mailbox will send a query to ask users
  2648.   if they really want to send the mail after they've type the /ex
  2649.   A 'N' or 'n' response will abort the message at that point. The user will
  2650.   be notified the message was aborted by a 'Mgs aborted' message.
  2651.   (default is on)
  2652.  
  2653. - forwarding is now a server-process. Start with 'start forward'.
  2654.   Timer is still set with mbox timer command.
  2655.   (this and a few other things from Milton Miller, kb5tkf and
  2656.    Ben Thornton, wd5hls)
  2657.  
  2658. - fixed bug in forward.c that would forward with Mycall as the node call,
  2659.   instead of the netrom call. Caused problems if Mycall != Netromcall
  2660.   (with help from Milton Miller)
  2661.  
  2662. - AX.25 Paclen can now be set on a per-interface basis.
  2663.   'ifconfig <iface> paclen <num>' will do the trick.
  2664.   (this is good for HF, where you want a small paclen !)
  2665.   Default is the 'ax25 paclen' value (ie. 256)
  2666.  
  2667.   NOTE: If the interface is activated for NETROM, setting this will also
  2668.   effect the 'netrom mtu' value. It will be set to (smallest paclen) - 20.
  2669.   If this is > 236, the netrom mtu will be 236 (the protocol maximum!).
  2670.   Eg: if you have a HF port with paclen of 64 and active with netrom,
  2671.   and another VHF port active with netrom and with paclenof 256, then
  2672.   netrom mtu is 44 and 'ifconfig netrom' will show this !
  2673.   You can override this automatic assignment with 'ifc netrom mtu <num>',
  2674.   but BE AWARE of fragmentation problems that will occur if you run this
  2675.   over an interface with a smaller paclen then netrom-mtu + 20 !!!
  2676.   (You get ax.25 V2.1 fragmentation, and Thenet, BPQ. MSYS etc can NOT handle
  2677.    this! NOS and it's derivatives are the only one that can handle this !!!! )
  2678.  
  2679. - Setting the netrom mtu now also works for netrom data! (it was originally
  2680.   intended for IP over NETROM use; however, both user data and IP packets are
  2681.   just data for the netrom protocol, so who cares :) Previously, everything
  2682.   pertaining to NR4 data was hardcoded to 236 bytes max, and would result in
  2683.   AX25 V2.1 fragmentation if paclen < 256, NO MATTER what.
  2684.   In NR4.C, send_nr4() now chops packets larger then netrom mtu into
  2685.   multiple smaller ones, thus preventing ax.25 V2.1 fragmantation.
  2686.   (see also 'ifconfig iface paclen' above !)
  2687.  
  2688. - AX.25 connection calls are now on a per-interface basis. Ie. you can have
  2689.   the same two calls with connection on two different interfaces:
  2690.   wg7j-3  <->  ka7ehk  on ax0 , and  wg7j-3  <-> ka7ehk  on ax1 now works.
  2691.  
  2692. - 16550 fifo trigger level can be set from attach command. Valid values are
  2693.   1,4,8 or 14. If you use this, the 'f' option is now mandatory !
  2694.   Add the trigger level following the 'f' or as an additional argument. EG:
  2695.   'attach asy 3f8 4 ax25 ax0 1024 256 9600 f8' or
  2696.   'attach asy 3f8 4 ax25 ax0 1024 256 9600 f 8'
  2697.  
  2698. - bbs forward loop detection added. Ie. when you receive a message that you've
  2699.   forwarded already, there is a forward loop. New 'bulletin loophold' command
  2700.   shows or sets the number of loops after wich to hold a message. 0 disables
  2701.   it, and is the default. Eg. 'bul loop 2' will hold any message that has 2 of
  2702.   your R: headers in the message when it is received. Loop-held messages get
  2703.   an additional header, 'X-BBS-Hold: Loop'.
  2704.   Currently, the sysop is NOT notified of the held message. However, they show
  2705.   up with the common 'H' as the type of the message in the List display.
  2706.   Messages marked 'H' can only be read by users with sysop priviledges, wether
  2707.   that message is in a user's private mail area or not. (This is jumping ahead
  2708.   of possible message contents scanning and holding)
  2709.  
  2710. - stktrace() from the new KA9Q sources added. This is currently only used
  2711.   for invalid free() calls. For each invalid free, it will show a trace of
  2712.   where the call came from. This should facilitate debugging.
  2713.   The 'test' command demonstrates it. Output is in the file stktrace.out.
  2714.   -> You need to have the map-file (nos.map) in the current directory !
  2715.   If you have invalid frees showing in the 'mem stat' command, and you have
  2716.   stktrace.out output, please send me a copy of that file. That will allow
  2717.   me to try and figure out what happened.
  2718.  
  2719. - netrom default round-trip-time increased to 45 seconds.
  2720.   (15 seconds is pretty unrealistic for a loaded 1200bd network :-)
  2721.  
  2722. - minor delinting and convers bug fix by Mike Gallaher, wa3hee
  2723.  
  2724. - incoming ttylinks do not create a session if system is unattended
  2725.  
  2726. - smtp server checks Message-Id's for possible duplicate BID's
  2727.   If found, message is accepted, but not delivered.
  2728.  
  2729. - mailbox disconnects on any '***' command, except '*** linked to' (bug fix)
  2730.   '*** linked to' should now work with any format, including texnet.
  2731.  
  2732. - conference connection sockets are put into no-block mode, this solves
  2733.   the data backlog problem that bogs the system down.
  2734.   (it will still fill up the tx buffer (even beyond the window size),
  2735.   but the send_mbuf() call will not block anymore).
  2736.  
  2737. - fixed conference access via mailbox inactivity timeout problem.
  2738.   Same with mailbox 'D', and 'W' commands.
  2739.  
  2740. - All tcp connections allow verbose ip ports. Currently allowed are
  2741.   "convers","telnet", and "ttylink". This is case sensitive, but you don't
  2742.   need the whole name. First lettter (for convers and telnet), or first
  2743.   two (ie. tt for the ttylink port) is enough.
  2744.   Eg. to telnet to the conference server with a split screen, do
  2745.   "ttylink <hostname> convers" (this is the same as "ttylink <hostname> 3600").
  2746.   This also work from the mailbox: 'T wg7j.ampr.org. convers'
  2747.  
  2748. - added split screen options for ax.25 and netrom connects (if compiled in)
  2749.   New command "split <iface> <call>" is same as "connect", but with S.S.
  2750.   New command "netrom split <node>" is same as "netrom connect" but with S.S.
  2751.   (Remember: you can do S.S. telnet's with the 'ttylink' command, by adding
  2752.    the telnet port number! (see also above))
  2753.  
  2754. - ax25 route commands now takes interface. This allows different digi paths
  2755.   per interface ! Eg. MAIL beaconing:
  2756.   if you want to digi via different nodes on different interfaces...
  2757.   'ax25 route add mail ax0 kf7dq-1'
  2758.   'ax25 route add mail ax1 wg7j-3'
  2759.  
  2760. - arp add/drop/publish now take interface.
  2761.   'arp add wg7j.ampr.org. ax25 wg7j-3 ax0'
  2762.   'arp drop 44.26.0.162 ax25 ax2'
  2763.   'arp publish gw.wg7j.ampr.org. ax25 wg7j-2 ax1'
  2764.  
  2765. - timer process is modified, fixes some timing with PI, SCC and other things.
  2766.  
  2767. - mailbox accepts and handles <del> chars (0x08) (from wa7tas).
  2768.  
  2769. - mailbox areas with more then maxmsg messages now allow reading of first
  2770.   maxmsg messages.
  2771.  
  2772. - fingers to the system now show the 'last connected' info for the requeste
  2773.   user, if exists. After this, the finger file (if exists) will be shown,
  2774.   as usual.
  2775.  
  2776. - remote sysop 'dir' and 'more' commands work, but without more-prompting.
  2777.  
  2778. - 'netrom hidden [on|off]' enables or disables showing of hidden nodes in
  2779.   the N display
  2780.  
  2781. - 'netrom interface' allows changing parameters for already active interfaces
  2782.  
  2783. - Tracing on AXIP interfaces now also works on receive (ie. input)
  2784.  
  2785. - fixed command line expression passing in .asm files for BC++3.1
  2786.  
  2787. - new mkname.c and other stuff for BC++3.1 from n1bee.
  2788.  
  2789. - nr4 ack bug, kiss-ioctl bug fixes per n1bee.
  2790.  
  2791. - netrom bcpoll <ifname>, will poll other systems running jnos1.05(or later)
  2792.   or dataengine's running jnos40 to send a routes broadcast. Speeds up route
  2793.   discovery...
  2794.   Eg. add this to the autoexec file for each activated netrom interface.
  2795.   This was primarily written for the DataEngine code, that doesn't have the
  2796.   'netrom load' from disk capability.
  2797.  
  2798. - tcp retries 0, resets to original KA9Q behaviour, ie no retry max.
  2799.  
  2800.  
  2801. VERSION 1.04 (920805)
  2802.  
  2803. - at command now takes minutes only too; format 'at mm <cmd>'
  2804.  
  2805. - format of /convers.cfg has changed:
  2806.   localname             -> still the local convers name
  2807.   name moot hostname
  2808.   name2 moot hostname2
  2809.   etc.
  2810.   where 'name' and 'name2' are the names of the convers links to put in.
  2811.   'moot' can be anything, but needs to be there for compatibility reasons
  2812.   (previously it had to be 'telnet' but that is the only thing accepted and
  2813.    is now hard coded (saved code))
  2814.   'hostname' is optional, and if defined, it is the hostname that will be used
  2815.   first to resolve the ip address of the host to link to. If 'hostname' can
  2816.   not be resolved, then 'name' will be used as previously.
  2817.   Eg:
  2818.   Corvallis whatever jnos.wg7j.ampr.org.
  2819.   This will try to link to jnos.wg7j.ampr.org. first, if that isn't a valid
  2820.   address, then it will try to link to 'Corvallis'
  2821.  
  2822. - added convers '/personal' command to show some info. Up to 30 chars will
  2823.   be shown in the users display (/w command).  This info also travels across
  2824.   links to compatible servers (ie servers running jnos1.04 or later).
  2825.   eg '/p Johan in Corvallis, OR'
  2826.  
  2827. - convers hostname can be 10 chars now (instead of 8 previously).
  2828.   Be carefull if you link with other server running older, noncompatible
  2829.   code; it is wize to keep it down to 8 chars in that case...
  2830.  
  2831. - added convers loop detection code, from dl9sau
  2832.  
  2833. - bug in convers code that didn't free the socket of a failed link
  2834.   attempt is fixed.
  2835.  
  2836. - separate ax.25 conference call added, with separate t4 timer.
  2837.   If set, connections to this call dump the user directly into the
  2838.   conference bridge. New 'ax25 confcall' and 'ax25 ct4' commands.
  2839.  
  2840. - new commands 'write' and 'writeall' to send message to users.
  2841.   'write' takes either socket # or mailbox username, and message
  2842.   and 'writeall' takes message and sends it to all mailbox users
  2843.   Eg: 'write 131 test'  'write wg7j "testing messages"' or
  2844.   'writeall test'  'writeall "testing messages"'
  2845.  
  2846. - socket display (eg. 'so 131') now shows socket creation time
  2847.  
  2848. - Added tcp retry timeout from iw0cnb. New 'tcp retries' command.
  2849.   Will reset tcp connections after too many retries.
  2850.  
  2851. - commented out some non-used code in the socket interface (AX25_UI sockets)
  2852.   (saves 1.5k :-) )
  2853.  
  2854. - New mailbox rewrite rule:
  2855.   mail rewritten to 'refuse' is refused from the mailbox with a 'NO' or
  2856.   'Bad host' reply.
  2857.  
  2858. - Upped the maximum number of netrom and axip interfaces to 16
  2859.  
  2860. - 'netrom interface' shows active netrom interfaces
  2861.   (verbose flags: v - yes, n - no, and f - according the verbose setting)
  2862.  
  2863. - tcp connect requests (Syncs) are refused if low memory, and
  2864.   socket() call will fail if memory low.
  2865.  
  2866. - AX.25 source call logging now correctly logs outgoing call, instead
  2867.   of interface call. (ie. gateway users will show up in list!)
  2868.  
  2869. - conference bridge access from mailbox is not via telnet connection
  2870.   anymore, but direct. Is faster and saves 2 sockets, 1 process and
  2871.   lots of system overhead. Convers.c has been cleaned up a bit too.
  2872.  
  2873. - added check in telnet login procedure for valid (Dos-filename) login name
  2874.  
  2875. - all memory address displays have dropped the '0008'. All commands involving
  2876.   memory  addresses do not accept the '0008' anymore.
  2877.  
  2878.  
  2879. VERSION 1.03 (920701)
  2880.  
  2881. - 'mbox tmsg' command. Shows or sets the 'telnet msg', that is
  2882.   shown to incoming telnet users before the login: prompt
  2883.   eg. mbox tmsg "Please use your call to login. Thank you"
  2884.  
  2885. - Domain Name Server code added. Start with 'domain startdns'
  2886.   Does not support multiple queries per frame, does not support
  2887.   authority and additional rr's in the reply.
  2888.   Always gives non-authoritative replies.  Has been tested to
  2889.   work with A,CNAME,MX,PTR,HINFO,SOA,NS queries. If other remote servers
  2890.   have been configured, if needed they will be used to resolve queries.
  2891.  
  2892. - 'netrom interface' changed:
  2893.   syntax is now 'netrom interface ifname ### [n|v]'
  2894.   where ifname is the interface name to attach
  2895.   ### is the route quality, 0-255
  2896.   and 'n' or 'v' is optional overriding of the verbose setting.
  2897.   If 'n' is given, the route broadcasts on the interface are none-verbose
  2898.   if 'v' is given, they are verbose.
  2899.   These 2 override the verbose flag !! Ie. if verbose is off, but the
  2900.   interface flag is verbose, all routes are broadcast.
  2901.   If no option is given, the verbose flag is used...
  2902.  
  2903.   This allows verbose broadcasts on axip interfaces, but keeps all the remote
  2904.   nodes off the local lan by disabling verbose broadcasts on that interface.
  2905.  
  2906. - users don't need telnet-permissions anymore for C,CA, and O
  2907.  
  2908. - KU will undelete messages marked for deletion
  2909.  
  2910. - 'L<' searches the 'From:' field
  2911.  
  2912. - a finger to 'conf' will show the conference bridge users (if configured)
  2913.  
  2914. VERSION 1.02 (920615)
  2915.  
  2916. - bugfix for recording of telnet session by Ron, vk6zjm added
  2917.  
  2918. - POP2 and POP3 from was0206 and gri-2.0j was added.
  2919.  
  2920. - userlogging works now also for any mailbox starting with "sys",
  2921.   even if not an area; this allows sysops to read sysop-mail from
  2922.   private areas, and have the system keep track of last read msg.
  2923.  
  2924. - the mailbox 'A' command will show the area names only, NOT
  2925.   the descriptions. To show descriptions, type AF
  2926.   Comments in /spool/areas now NEED TO START with a '#' char...
  2927.   and are only shown in the AF form of the command
  2928.  
  2929. - code to restore 16550 fifo status added (from Bill Simpson)
  2930.  
  2931. - ftp message of the day, modified from Max (iw0cnb).
  2932.   Set/show with 'fmotd' command
  2933.  
  2934. - mailbox (L)ist display has been changed a bit to show the To: field
  2935.   of messages.
  2936.  
  2937. - new mailbox 'L>' command allows searches in the To: field of messages
  2938.   (NOT case sensitive!)
  2939.   eg: 'L> test' will show messages with To: fields of:
  2940.   test@allusa, TEST@somewhere, all@testing.usa, ...
  2941.  
  2942. - expanded mailbox 'ML' command :
  2943.   'ML'       -  lists all past logins since startup
  2944.   'ML n'     -  lists last n logins since startup
  2945.   'ML call'  -  gives last login date/time for call
  2946.  
  2947. - new mailbox 'Move Message' command for sysops:
  2948.   'MM name' moves the current message to mailbox file 'name'
  2949.   'MM n[...] name' moves message n to mailobx file 'name'
  2950.   eg:
  2951.   MM 1 3 4 newarea
  2952.   (Moves messages are deleted in current mailbox file)
  2953.  
  2954. - 'New mail' messages only print to the command screen
  2955.  
  2956. - userlog code now also works during 'R' command
  2957.  
  2958. - mailbox 'SR' doesn't generate a Cc: to the original message To: addressee
  2959.  
  2960. - user default logging added; keeps track of last time logged-in/out,
  2961.   state of XM,XA and XN commands, and how last connection was made.
  2962.   gets read at login and restores values that existed at last logoff.
  2963.  
  2964. - in mailbox send, the rewrite result 'To:' is only shown to sysops
  2965.  
  2966. - new command XN to toggle the netrom id prompt.
  2967.  
  2968. - deleted the masking of chars with 0x7f, to allow international
  2969.   character sets to pass correctly (in ttydriv.c and telnet.c)
  2970.  
  2971. - disallow attaching of axip interfaces with names longer then 6 chars
  2972.   This is needed for the gateway code to work correctly (inherent to the
  2973.   socket internals)
  2974.  
  2975. - fixed bug in the Bye command that would reset the last read message
  2976.   to 0, if nothing was Listed in the last area
  2977.  
  2978. - netrom inactivity timeout disconnection was not working properly in 1.01
  2979.   (wrong timer configured). This is now fixed...
  2980.  
  2981. - refusing of new connections when memory is low is now done
  2982.   in the protocol modules for netrom (nr4.c) and AX.25 (lapb.c)
  2983.  
  2984. - when a nodes-broadcast from a previously unknown netrom
  2985.   neighbour is heard, the system send a nodes broadcast too.
  2986.  
  2987. - new mailbox 'XA' command; toggles showing of the current area
  2988.   with the mailbox prompt. Defaults to on.
  2989.  
  2990. - fixed bug that prevented areas in subdirectories from being accessed
  2991.   (in mlock() and rmlock() functions). This affected systems using nntp
  2992.  
  2993. - modified the nntp client in nntpcli.c to be compatible with my userlog code
  2994.   (added a "Received:" line to articles)
  2995.  
  2996. - message expiry code can now handle both the 'mailbox' style
  2997.   (ie. "Tue, 14 Apr 92 15:11:07") and the 'nntp' style date
  2998.   line (ie. "14 Apr 92 15:11:07").
  2999.   (so it *should* now work with the nntp client; still NOT tested though!)
  3000.  
  3001. - mailbox forwarding: anything that came in with a bid goes out with a bid.
  3002.   Thus now 'SP sysop@blah $bid' goes out with $bid unlike before.
  3003.  
  3004. - when 'bulletin date' is on, "Date: " now only shows the date,
  3005.   no more the  "BBS, ".
  3006.  
  3007. - added st_garbage() fix in sockutil.c
  3008.  
  3009.  
  3010. VERSION 1.01 (920408)
  3011. ************
  3012.  
  3013. - any user can delete messages in any area that starts with "nts".
  3014.   Thus users can delete nts traffic, without having to give them
  3015.   permission to delete everything.
  3016.   Eg: I rewrite all nts stuff i can deliver to the area 'ntslocal'
  3017.   User's can now delete these messages after delivery.
  3018.   All other traffic (ie. not for my area) i rewrite to 'nts' to
  3019.   be forwarded elsewhere. However, 'nts' is NOT an area, so regular
  3020.   users can't touch it (You could also use 'traffic' or whatever
  3021.   else suits you...)
  3022.  
  3023. - plain 'netrom route info' gives info for all routes
  3024.   mailbox 'N *' does the same; from Doug Crompton.
  3025.  
  3026. - telnet login's get 3 tries max to be validated; ctrl-d as the first
  3027.   char will exit the login-procedure.
  3028.  
  3029. - support for the BuckMaster CDRom ham-call database has been added;
  3030.   it compiles just fine, but this has NOT been tested !!
  3031.   (check the compile switches in config.h; not in the standard
  3032.   distribution)
  3033.   The commands for this are 'callbook','callserver2','cdrom',
  3034.   'start callbook' and 'stop callbook'
  3035.   This code comes from KB7YW, taken out of SS_NOS sourcecode,
  3036.   and is provided as is...
  3037.  
  3038. - fixed memory leak with mailbox finger, and overwrite problem
  3039.   with the 'whereto' variable.
  3040.  
  3041. - mkname.c now works with tc2.0, bc2.0 and bc3.0, from Ron Henderson, wa7tas
  3042.  
  3043. - smtp lzw is a more robust; from pa0gri 2.0f
  3044.  
  3045. - tipmail.c timer problem fixed; from ke9yq
  3046.  
  3047. - Function key session switching ! (modified a bit from WNOS3 sources)
  3048.   If the function keys F1-F8 are not defined, they will switch you to
  3049.   the session of that number; eg F3 will switch to session 3 !
  3050.  
  3051. - tracing to a session. Function key F-9, if not re-defined with an fkey
  3052.   command, switches to it from any other session. (it actually toggles;
  3053.   ie you can switch between trace and current session by pressing F9)
  3054.   Session tracing defaults to on.
  3055.   Trace output is only printed in this session when it is the active one.
  3056.   Tracing to file currently disables output to the session.
  3057.   Tracing can be set to go to the command screen with 'strace off' command.
  3058.   (Sometimes you want to see what's going on while you're typing some
  3059.   commands at the console)
  3060.  
  3061.   To save memory (about 4 kb.) session tracing can be disabled with a
  3062.   commandline option. Invoking nos with '-n' will not setup tracing
  3063.   to session, but always trace to the command window.
  3064.   (the 'strace' command is disabled aswell)
  3065.   (eg 'nos -n -s40' will give 40 socket and tracing to the command window)
  3066.  
  3067. - the bid's in history file now have a timestamp with them to allow
  3068.   for automatic expiry. Format is "%s %ld\n", where %s is the bidstring,
  3069.   and %ld is the number of seconds since 1970 (ie. standard time long-integer)
  3070.  
  3071. - BID and MESSAGE expiry built in.
  3072.   command 'oldbids <timer> [age]' or 'oldbids now'
  3073.     <timer> is in hours and sets the interval that the bid file ('history')
  3074.     will be scanned for old ones to delete. Old file is renamed to
  3075.     'history.bak' and a new one created. This will also transform old style
  3076.     bid's (without timestamp) to new style with timestamp.
  3077.     [age] is the optional age in days, and defaults to 30 days.
  3078.     'oldbids' will show current values, 'oldbids now' will expire old bids
  3079.     immediately, with previously set age value (or default if not set)
  3080.  
  3081.   command 'expire <timer>' or 'expire now'
  3082.     <timer> again is in hours, to set the interval to check for expired
  3083.     messages. The expiration in controlled by the file '/spool/expire.dat'
  3084.     This file is a list of fields like
  3085.     area age
  3086.     where area is the area-name WITHOUT the '.txt' extension. Area CAN
  3087.     have subdirs denoted by either '.', '/' or '\' . Thus is *should*
  3088.     work with NNTP articles as well (see note 2). Age is the age in
  3089.     days of the message. If age is omitted, default is 21 days
  3090.     Area and age are separated by one space character !
  3091.     On expiry, any area.txt file is renamed to area.bak, and then all
  3092.     messages are checked for their age. Age comes from the 'Date: ' header.
  3093.     Thus with the 'bulletin date yes' command, BBS style messages can
  3094.     be properly expired.
  3095.     Some valid formats of the '/spool/expire.dat' file:
  3096.  
  3097.     #This is a comment
  3098.     #expire the allusa bulletins after 7 days
  3099.     allusa 7
  3100.     #assume the default for allor (ie 21)
  3101.     allor
  3102.     rec.radio/amateur\packet 10
  3103.  
  3104.     NOTE 1: the use of the mktime() function in the age calculations
  3105.     now forces the use of BCC instead of TCC. There is a sort-of working
  3106.     replacement of mktime() in expire.c for those that want to keep using
  3107.     tcc
  3108.  
  3109.     NOTE 2: I have tested the subdir expiration with mail files; NOT with
  3110.     NNTP originated messages. If this doesn't work, please let me know !
  3111.  
  3112. - mbox mailfor exclude. You can set a list of private mail areas to exclude
  3113.   from the mail-beacon. Same syntax as 'mb jumpstart exclude'.
  3114.   (mailfor code has been rewritten to be more efficient, less hd access)
  3115.  
  3116. - a user does NOT need TELNET_CMD permissions anymore to do the 'CALL'
  3117.   command. This is so that we can disallow telnet's and still allow
  3118.   connections to the call-server.
  3119.  
  3120. - included the latest PI driver in the sources (dated 920329)
  3121.  
  3122. - mailbox.c is now split into mailbox.c and mboxcmd.c
  3123.  
  3124. - mailbox subcommand 'mbox tdisc' sets the inactivity timeout value.
  3125.   If not zero, if mailbox user has not given any input for the timeout
  3126.   period, the mailbox connection is closed. This prevents idle users.
  3127.   Default is 0 seconds, ie off.
  3128.   (can be compiled out with MBXTDISC switch in config.h)
  3129.  
  3130. - ftp server inactivity timeout. Command 'ftptdisc'. Again, if not zero
  3131.   ftp connection will be closed after no data has flown for the timeout
  3132.   period. Defaults to 0 seconds, ie. off.
  3133.   This gets deactivated during file transfers in either direction;
  3134.   this is to avoid looong slooow transfers to cause a timeout.
  3135.   (can be compiled out with FTPTDISC switch in config.h)
  3136.  
  3137. - netrom subcommand 'netrom tdisc'. Sets a timer similar to the 'ax25 t4'
  3138.   timer. If there has been no incoming data over a level 4 circuit for the
  3139.   timeout period, the circuit is reset.
  3140.   Default is 0 seconds, ie. no timeout.
  3141.   This is usefull with idle forward sessions etc.
  3142.   (can be compiled out with NR4TDISC switch in config.h)
  3143.  
  3144. - mailbox 'SR' command works again (sending replies...)
  3145.  
  3146. - 'LL' command was broke since addition of 'LA'. Fixed again.
  3147.  
  3148. - mailbox 'RH' command, to read with all headers (same as 'V')
  3149.  
  3150. - R: header interpretation now allows both '@:bbs' and '@bbs' format
  3151.   as well as '?:bbs' and '?bbs' (for aplink etc.)
  3152.  
  3153. - mailbox 'SC' command to send one message to multiple people
  3154.   'Send Carboncopy'; it asks for a list of Cc:-addresses. A user can
  3155.   answer with one or more addresses, separated by comma's
  3156.   eg: 'Cc: johan@ece.orst.edu, ka7ehk@wg7j.ampr.org,test@nowhere.usa'
  3157.  
  3158. - mailbox 'XM n' to show or set (XM n) the number of lines for
  3159.   more-prompting. Telnet default is 23, others 0 (same as previously)
  3160.   MORE now works for ALL connection types, instead of only for telnets.
  3161.   MORE also works with all the 'L' commands (as well as R/V commands)
  3162.   (this is NOT logged(yet), so at each login, the defaults are set)
  3163.  
  3164. - smtp bactch processing fixed ala VK6RJM
  3165.  
  3166. - 'info' command now shows compile date/time.
  3167.  
  3168.  
  3169. VERSION 1.00 (920318)
  3170. ************
  3171.  
  3172. - New commands 'bulletin <check|date|return>'
  3173.   (Can be compiled out by undefining 'MAILFOR' in config.h)
  3174.  
  3175.   'bulletin date on/off' (DEFAULT: OFF)
  3176.   if on, the original message date from the last R: line will be
  3177.   used in the message 'Date:' line. Off acts as plain ka9q code.
  3178.   This allows a more correctly indication of the age of the message
  3179.   and improves automatic expiry of messages
  3180.   (with the 'at hhmm "shell expire..." ' command !)
  3181.   (NOTE: due to the lack of the mktime() routine in the TC2.0 libraries,
  3182.    the weekday field in the ARPA-date header is set to "BBS"; as soon
  3183.    as i get around rewriting that routine (it is in BC2.0 and above)
  3184.    that will be fixed. This causes no grief :-), just shows something like
  3185.    'Date: BBS, 12 Mar 92 11:21:00 UTC'
  3186.    the presence and length of this field are imperative, since at several
  3187.    places the string is scanned for the ',' (smtp) or the lenght (forward) )
  3188.  
  3189.   'bulletin return on/off' (DEFAULT: OFF)
  3190.   if set, when a message is received via bbs-forwarding
  3191.   a 'valid bbs-style return address' will be taken from the
  3192.   last R:-line, if one is present. This works with any message
  3193.   type that starts with R:-headers (so personal mail as well).
  3194.  
  3195.   the 'true from-address' is made as 'user@last-R:line-bbs'
  3196.   ie. the from-address is set to come from the user, as send
  3197.      with the 'S bla@blah < USER' line, and the 'home' bbs will
  3198.      be extracted from the last R: line found
  3199.      This allows a correct 'from' the be shown, and allows
  3200.      the SR (Send Reply) to work normal, however....
  3201.      eg. If the message is forwarded as 'SP W7ABC < W6XYZ'
  3202.      and the last R:-header is
  3203.      R:920312/1200z @:N7PQR.AB.CD.EF [TEST] #:0 Z:1
  3204.      then the 'From:' line will read:
  3205.      'From: w6xyz@n7pqr.ab.cd.ef'
  3206.  
  3207.      NOTE !!!!
  3208.      Since in most of these occasions, the from-hosts will NOT
  3209.      be tcp/ip hostnames (eg. wg7j.ampr.org) but rather
  3210.      bbs H-addresses (eg. WG7J.OR.USA.NA)
  3211.      YOU (ie. the sysop) HAVE TO MAKE SURE your system can handle
  3212.      these new addresses by setting up the ALIAS and REWRITE files
  3213.      to handle these, and then setup bbs-forwarding (if needed)
  3214.      as well with FORWARD.BBS
  3215.  
  3216.   'bulletin check on/off'
  3217.   When turned on, the forward.bbs file is scanned to build a list
  3218.   of bbs's we forward to. If on, 'bulletin check' will give this list.
  3219.   When a bbs connects, each time a bulletin or any message send with BID
  3220.   is forwarded the R: trail (if present) will be read for comparison
  3221.   to the list. If an R: line from a BBS we forward to is found,
  3222.   an 'X-Forwarded-To' header is added to the smtp headers of the messages.
  3223.   (They are written as the very first thing, to speed up the scanning
  3224.    of the headers during forwarding...)
  3225.   This 'X-Forwarded-To' header is lateron used by the
  3226.   forward code to realize that those bbs-es already have the
  3227.   message, and we don't have to try to send it,
  3228.   only to get a 'NO' reply. Thus not as much time and network
  3229.   bandwith is wasted...
  3230.  
  3231. - mailbox 'read' only sets the 'READ' flag when the area is the
  3232.   users private mail area. This prevents users with sysop privs
  3233.   that read other private areas to mark stuff as read.
  3234.   eg. I rewrite lots of private mail into two private mailboxes,
  3235.   north.txt and south.txt, to be forwarded in those directions.
  3236.   I don't want regular users to be able to read this, so they can't be areas.
  3237.   I want to be able to read them myself (sysop privs), but doing so would
  3238.   previously set the 'READ' status and cause a message not to be forwarded!
  3239.   Thus the fix...
  3240. - When a message originates here, and goes out over bbs-forwarding,
  3241.   after our R: header, a blank line is inserted followed by the message text.
  3242.   (previously the text followed immediately)
  3243. - when forwarding a message out of a private area, when the message is a
  3244.   bulletin, the message does not get deleted (previously it would). Reason:
  3245.   i rewrite certain buls to a private area, so that regular users can't read
  3246.   them (eg. 'sb sysop@allor'). I also forward these, and thus might miss the
  3247.   message if it gets killed after forwarding... (now 'sp sysop@allor' still
  3248.   get killed after forwarding :-( )
  3249. - by changing the subject-prompt G3ZZC's LANLINK's auto-upload
  3250.   is supported (some of my users run this).
  3251. - mailbox 'MS' shows mail-status; number of received,forwarded msgs. etc.
  3252.   also shown with 'mbox mailstat' command
  3253. - userlogging does NOT work for area names 'help' This allows new users
  3254.   to list help messages over and over with a simple L command, without
  3255.   having to know the 'internals' of the L-subcommands. Suggested by
  3256.   my local users
  3257. - user is only notified of new received private mail if user is currently
  3258.   in his own mail area. Prevent users from doing RM upon new mail nofication
  3259.   and getting the new messages in a different area. Suggested by my local
  3260.   users
  3261.  
  3262. - remote-sysops 1-packet pings are allowed.
  3263.  
  3264.  
  3265. VERSION 0.99 (920310)
  3266. ************
  3267.  
  3268. - Mailbox command 'RM','VM' and 'KM' to read-mine, verbose-mine and kill-mine
  3269.   This will read at the most the first 19 unread messages, or
  3270.   kill (ie. delete) the first 19 read messages IN THE CURRENT AREA.
  3271.   (19 is inherent to the cmdparser routine)
  3272.   Also 'LA' to list all messages, and LM same as L for compatibility
  3273.   (ie. list unread messages)
  3274. - A commandfile, ~/onexit.nos, if present, will be parsed when the 'exit'
  3275.   command is given, and after this the system exits. (from iw0cnb)
  3276. - When the remote-listener receives a valid 'exit' or 'reset' command,
  3277.   the same stuff is done as when 'exit' is typed on the keyboard
  3278.   ie. processes are notified, onexit.nos parsed etc...
  3279.   then if 'reset' a system reset occurs, otherwize a regular exit()
  3280. - Mailbox user display ('M' or 'mbox') is enhanced, showing
  3281.   detailed state of all users
  3282.   (users in sysop mode will only show to others with sysop privs,
  3283.    regular users will see that user to be 'Idle')
  3284. - New mbox command 'mbox mailfor <interval>'
  3285.   (Can be compiled out by undefining 'MAILFOR' in config.h)
  3286.   <interval> is in seconds. A 'Mail for:' beacon will be send
  3287.   every <interval> seconds to the address 'MAIL'.
  3288.   It contains a list of all private mailfiles
  3289.   (ie. none-areas) that have unread mail.
  3290.   The beacon is also send when the timer is set,
  3291.   and can be forced (ie. kicked) with 'mbox mailfor now'
  3292.   Simple 'mbox mailfor' will show the timer value and the current
  3293.   users that have mail waiting...
  3294. - 'netrom load' now works !
  3295.  
  3296. VERSION 0.98 (920303)
  3297. ************
  3298. - LZW compression in smtp now works (thanks Gerard!(pa0gri))
  3299. - Mailbox minimal tcp negotiation added (thanks Bob!)
  3300. - (hopefully) fixed the last incompatibilities with BID's when
  3301.   forwarding.
  3302. - Made the 'R:' line "bulletproof" for certain fields not set (from iw0cnb).
  3303. - fixed bug that reset number of new messages when new mail was received
  3304.   in current public area
  3305. - made 'domain translate' work correctly again (from g1emm)
  3306. - fixed jumpstart problem (actually ax.25 spec 'problem') when a second
  3307.   SABM frame is received. (from Ron Murray, vk6zjm)
  3308. - trace only outputs to command session or files; ie. doesn't garble
  3309.   other sessions anymore (from iw0cnb)
  3310. - added a 'call' command to mailbox.
  3311.   (code is optional via the CALLBOOK switch in config.h)
  3312.   This is an automatic telnet connect
  3313.   to a host and port set with the 'callserver' command.
  3314.   Format is 'callserver <host> <port>' where the callbook server
  3315.   resides on tcp-port <port> on <host>
  3316.   This is mainly useful for gateway systems on Internet.
  3317.   It allows users to use the callbook-server at buffalo.edu in an easy way.
  3318.   Note: User needs to have telnet permissions
  3319.   eg: 'callserver marvin.cs.buffalo.edu 2000'
  3320.   then the mailbox 'call' command will try to telnet to this host/port
  3321. - added the 'at' timed command execution, from IW0CNB's code
  3322.   (this can be compiled optionally with the ATCMD switch in config.h)
  3323.   The "at" command with no arguments shows the list of events that are to
  3324.   be executed.
  3325.   at yymmddhhmm <command>
  3326.     Executes <command> at specified date,expressed in Year-Month-Day-Hour-Min.
  3327.     If specified date is past, the command is not executed.
  3328.   at hhmm <command>
  3329.     Executes <command> at specified hour and minute of the current day, or of
  3330.     the next day if the specified time is past.
  3331.   at now+hhmm <command>
  3332.     Executes <command> hh hours and mm minutes from now. hh and mm can be up
  3333.     to 99.
  3334.  
  3335.   Notes and examples:
  3336.   <command> may be any valid NOS command, possibly enclosed in quotes,
  3337.   as well as a DOS shell command.
  3338.   If you want multiple commands to be executed, use the "source <filename>"
  3339.   command.
  3340.   The third mode of operation requires the exact writing "now+" in lower case
  3341.   and without spaces between hhmm.
  3342.  
  3343.   Single command execution examples:
  3344.   at 9202150900 exit   /* Shuts off on 15 Feb 92 at 9:00am */
  3345.   at 2245 "! /c pkzip oldmail \spool\mail\*.*"
  3346.   at now+0500 "smtp kick"
  3347.  
  3348.   Multiple command execution examples:
  3349.   at now+0859 "source cleanup.net"
  3350.  
  3351. (VERSION 0.97b)
  3352. - fixed little incompatibility with texnet '*** linked' stuff
  3353. - added check for console on all session-invoking commands.
  3354.   (ie. you can not do 'dir',etc. from remote sysop anymore!)
  3355.  
  3356. VERSION 0.97 (920220)
  3357. ************
  3358.  
  3359. - User status keeping.
  3360.   The mailbox now keeps track of the last listed message
  3361.   in each area for each user. Next time the area is listed, by default
  3362.   only newer messages are listed. 'L start# stop#' and 'LL #' will
  3363.   still list all messages.
  3364.   This info is kept in a file 'areaname.USR' in \spool\mail .
  3365.   eg. the area 'amsat' has it's info in \spool\mail\amsat.usr
  3366.   The content is simply a list of user names, followed by the id-number
  3367.   of the last message listed in this area.
  3368.   The content is updated when the user switches areas, or logs out.
  3369.   The .usr files are build completely automatically, there is nothing
  3370.   you need to do to get things started.
  3371.   This feature can be turned of by undefining USERLOG in config.h
  3372.   It currently DOES NOT work in areas in subdirectories under ~spool/mail .
  3373.  
  3374. - The expanded bbs-forward R: line gets only send if all of
  3375.   mbox haddress, fwdinfo, qth and zip are set. Otherwize a simplified
  3376.   R: line gets send with only time, @-bbs and message-#
  3377.  
  3378. - the mailbox '*** linked to' handling is a bit more robust.
  3379.   Every user has permission to do this now, but if sysop-password is not
  3380.   set, SYSOP_CMD priviledges are reset.
  3381.   It will not allow some one to reset the NO_SENDCMD, NO_READCMD or
  3382.   NO_3PARTY protection, if they were disallowed in the original login.
  3383.   It now also sets the new call for outgoing gateway connects.
  3384.   Handles the TEXNET 'linked to' message, but doesn't use the ssid
  3385.   from this (i see no need for this)
  3386.   If 'linked to' is done, this logged to the logfile
  3387.  
  3388. VERSION 0.96
  3389. ************
  3390.  
  3391. - requested by wb5bbw: logging of mailbox telnet/netrom/ax25 gateway connects
  3392.  
  3393. - 'mbox expert' command is gone. Instead default state can be set for each
  3394.   user in ftpusers database. Use value of 16384 to set user as expert.
  3395.   X command from mailbox will still toggle, but NOT update the default in
  3396.   ftpusers.
  3397.  
  3398. - hidden ML mailbox command to show previous users,
  3399.   also shown with 'mbox past'
  3400.  
  3401. - lzw compression in smtp (same as in gri2.0d)
  3402.   (disabled in the distribution .exe, since there are reportedly bugs!)
  3403.  
  3404. VERSION 0.95
  3405. ************
  3406.  
  3407. - jumpstart has been ruggidized. Lapb now sets a flag in the ax.25 control
  3408.   block to indicate wether jumpstart was used. If not used, the first line
  3409.   to trigger the mailbox is eaten again.
  3410.   Also, a list of calls to excluded from jumpstart can be set (or shown) with:
  3411.   mbox jumpstart exclude <one or more call>
  3412.   eg:
  3413.   'mbox jumpstart exclude wg7j-4 kb7bhf-5 pa3dis'
  3414.   Now when either one of those connects, jumpstart will not be used.
  3415.   You can show the list of excluded calls with 'mbox jumstart exclude'
  3416.   or add more with additional 'mbox jumpstart exclude call call call...'
  3417.   lines
  3418.  
  3419. - added Jerzy Taraziuk's ksubr mods  (main-process stack checking)
  3420.  
  3421. - added code in lapb.c to drop non-local ax.25 routes when a connection closes
  3422.   (ie. routes coming from gateway users using digis etc.) Inspired by K4TQL
  3423.   Changed routes added in the mailbox gateway and in doconnect() from AX_LOCAL
  3424.   to AX_AUTO, such that these routes are only temporary.
  3425.   The only permanent ax.25 route entries are now those entered with the
  3426.   'ax25 route add' command.
  3427.  
  3428. - added Mike Billow, N1BEE's minheap trick in pc.c to (hopefully) resolve
  3429.   memory problems when shelled out with the multitasking shell on
  3430.  
  3431. - additional config.h switches to undefine multitasking shell code,
  3432.   ax.25 ip autoroute, shell-command and some unneeded sessions
  3433.   (for switch setup)
  3434.  
  3435. - dropped autoroute in the distribution because it causes problems
  3436.   when using vc for ip links. It still can be added by changing config.h
  3437.   and recompiling
  3438.  
  3439.  
  3440. VERSION 0.94
  3441. ************
  3442.  
  3443. - bbs flag in ftpuser:
  3444.   IS_BBS     -    the user should be treated as a bbs
  3445.   (#define IS_BBS      8192    /*This user is a bbs*/)
  3446.  
  3447. - node list in mailbox 'N' command is sorted, per Doug Crompton's code
  3448.   Sort can be done by alias or call, set by 'netrom route sort' command
  3449.   default: by ALIAS
  3450.  
  3451. - netrom neighbours can be listed with 'NR' from mailbox
  3452.   this also shows if a route has been used in the last 60 seconds
  3453.   (an '>' shows up in front)
  3454.  
  3455. - better protection for mbox password and lock commands
  3456.   (only access via keyboard, suggested by Gerard, pa0gri)
  3457.  
  3458. - fixed a longtime bug with loosing the BID when forwarding bbs mail
  3459.   that was received with a bid from someone else
  3460.  
  3461. - little bug fixed that would show multiple paths in the ftpserver pwd command
  3462.  
  3463. - when jumpstart is off, the line that triggers the mailbox (ie. the CR)
  3464.   will be eaten again, like in plain KA9Q (instead of being taken as a
  3465.   command, as in previous versions)
  3466.  
  3467. - ala PA0GRI:
  3468.   mailbox chat is now 'operator'
  3469.   mailbox users is now 'mboxusers'
  3470.   mailbox upload is back !
  3471.  
  3472. VERSION 0.93 (920126)
  3473. ************
  3474.  
  3475. - anonymous permission ala pa0gri's 'univperm'
  3476.  
  3477. - Additional mailbox user permissions:
  3478. NO_SENDCMD -  disallow all mail, except to 'sysop' or 'SYSOP'
  3479. NO_READCMD -  disallow reading of any mail
  3480. NO_3PARTY  -  disallow 3rd-party mail to be send
  3481. These bits need to be set in order to disallow those actions,
  3482. such that ftpusers need not be modified if you don't want to mess
  3483. with them
  3484.  
  3485. Thus permissions are now:
  3486. #define AX25_CMD        8       /* AX.25 gateway operation allowed */
  3487. #define TELNET_CMD    16    /* Telnet gateway operation allowed */
  3488. #define NETROM_CMD    32    /* NET/ROM gateway operation allowed */
  3489. #define SYSOP_CMD    64    /* Remote sysop access allowed */
  3490. #define EXCLUDED_CMD    128    /* This user is banned from the BBS */
  3491. /* 256 and 512 are used in PPP*/
  3492. #define NO_SENDCMD  1024    /*Disallow send command*/
  3493. #define NO_READCMD  2048    /*Disallow read command*/
  3494. #define NO_3PARTY   4096    /*Disallow third-party mail*/
  3495.  
  3496. - additional 'cls' command to clear the command-session screen
  3497.  
  3498. - mailbox command to set offset between computer's time and UTC.
  3499.   this is used with forwarding ax.25 bbs mail such that the R: line
  3500.   indicates correct UTC time with the 'z'.
  3501.   ie. if you don't have your computer running with UTC time,
  3502.   set this parameter.
  3503.  
  3504.   eg: on the west coast, local time is UTC - 8 hours.
  3505.       if your computer runs with local time, issue the following
  3506.       command:
  3507.       'mbox utc -8'
  3508.       The default value is 0, ie computer time = UTC .
  3509.  
  3510.       Both positive and negative offsets (for those outside the US :-))
  3511.       are supported. The code will automatically account for jumps into
  3512.       the next or previous day, or year and checks for leap-years on
  3513.       february 28/29
  3514.  
  3515. - Netrom Level 4 problem (not sending data queueud up)
  3516.   is fixed (ala Dave Perry, VE3IFB)
  3517.  
  3518. - Remote Sysop password protection
  3519.     Set the password with 'mbox password your_password'
  3520.     Maximum password lenght is 30 chars.
  3521.     NOTE: Users still need sysop premission in the ftpusers file !
  3522.     (this is easy to change in the soures)
  3523.     If the password is not set, users with sysop priviledges don't get to
  3524.     pass the query, but jump into sysop-mode right away. (the old way!)
  3525.     If it is set, 5 numbers are prompted. The user then needs to answer
  3526.     with the correct 5 characters from the password. The first char is number
  3527.     zero !
  3528.     You can give as many lines answering the query, to mislead people
  3529.     listening in :-). End with a blank line, and if one of the answers you
  3530.     gave was correct, sysop permission is granted!
  3531.  
  3532.     eg: 'mbox password *12345abCDE'
  3533.     you give the '@' command:
  3534.     system prompts: '3 7 2 9 0'
  3535.     you answer:     agk4e
  3536.                     thier
  3537.                     3b2D*           <--- the right answer !
  3538.                     9qPr&
  3539.                     <blank line>    <--- just hit <CR>
  3540.  
  3541.     Sysop permission is now granted !
  3542.  
  3543. -Forced NS16550 attaching
  3544.     optional 'f' parameter in 'attach asy' forces the presence of the 16550.
  3545.     eg: attach asy 0x3f8 4 slip sl0 2012 1006 2400 vf
  3546.     sets VJHeader compression ( the 'v') and forces the 16550 ('f')
  3547.  
  3548. VERSION 0.92 (920114)
  3549. ************
  3550.  
  3551. -Some additional configuration switches in config.h
  3552. These save lots of memory (MBFWD and ALLCMD undef'd save about 50k!)
  3553. MBFWD  - if not defined, excludes mailbox forwarding code
  3554.          and related commands
  3555. ALLCMD - if not defined, excludes a bunch of rarely used commands
  3556.          (I this did for the internet-slip server we run here)
  3557.     Excluded are:
  3558.     delete,rename,more,tail,dump,status,motd,cd,dir,finger,fkey,info,mail,mkdir
  3559.     pwd,record,rmdir,watch,test,upload,bbs
  3560. ALLSERV - if not defined, only the basic servers are included
  3561.     Excluded are:
  3562.     discard,echo,tip,ttylink servers,
  3563.     the ttylink command and the split screen code
  3564. Along with these are some fixes regarding NRS and TRACE. Main.c and scc.c
  3565. had a few things not properly ifdef'd such that modules needlesly were pulled
  3566. in at link-time.
  3567.  
  3568. -Kicking or stats of sockets made easier :
  3569. 1-'tcp|ax25|netrom kick' or 'tcp|ax25|netrom stat' commands
  3570.     can be given just the first 4 numbers.
  3571.     The '0008' is automatically appended when a lenght of 4 is detected.
  3572.     eg: 'tcp kick 76ea' is the same as 'tcp kick 76ea0008'
  3573.     (this is ala N1BEE)
  3574.  
  3575. 2- New command 'skick <socket#>' to automatically kick whatever type the
  3576.     socket is. This kicks valid sockets of type TCP, AX25 and NETROM.
  3577.     Use 'socket' command to get a list of used sockets.
  3578.  
  3579. -AX.25 forwarding is changed.
  3580. 1) the R: line is ALWAYS sent.
  3581.  
  3582. 2) some additional R: line fields can be set with
  3583.     -mbox zip <your zip>           : sets zip code to be used
  3584.         eg. 'mbox zip 97330'             will show 'Z:97330' in R: line
  3585.     -mbox haddress <your Haddress> : sets Hierarchical address
  3586.         eg. 'mbox haddress #CRV.OR.USA' (note NO leading period!)
  3587.                 will show '@WG7J.#CRV.OR.USA' in R: line (assuming Mycall
  3588.                 is set to WG7J)
  3589.     -mbox fwdinfo <your info>      : sets [info]
  3590.         eg. 'mbox fwdinfo "BCARES BBS"'  will show '[BCARES BBS]' in R: line
  3591.         eg. 'mbox fwdinfo Testing        will show '[Testing]' in R: line
  3592.     -mbox qth <"qth, St">          : sets your qth (and state)
  3593.         eg. 'mbox qth "Corvallis, OR"'   will show 'Corvallis, OR' in R: line
  3594.         eg. 'mbox qth Corvallis          will show 'Corvallis' in R: line
  3595.  
  3596. 3) A message number is sent.
  3597.    The message number sent in the '#:' segment comes from the 'id AA####'
  3598.    part of the smtp header.
  3599.  
  3600.     The R: line looks as follows:
  3601. R:date/time @:MYCALL.HADDRESS [your info] your-qth-st #:IDNUM Z:your-zip
  3602.  
  3603. 4) Optionally sending of the smtp headers.
  3604.     Sometimes a message will come in over SMTP and go out via AX.25 forwarding.
  3605. Normally the SMTP headers of the message are NOT sent. Thus there is no trace-
  3606. back trail beyond your system, since the only trace is your R: line.
  3607. If you want to include most of the SMTP headers from all previous
  3608. delivery hops, then use the command :
  3609.  
  3610. 'mbox smtptoo on|yes|1'     (default: OFF)
  3611.  
  3612. (This does not send some duplicate line line Subject: etc. that already have
  3613. been sent)
  3614.  
  3615. VERSION 0.91 (920103)
  3616. ************
  3617. These mods originated in my work on the V25/V40 port of NOS. Version number
  3618. is taken from that code-version.
  3619.  
  3620. Several NET/ROM changes:
  3621.  
  3622. One netrom call, different from any other interface call can be set with
  3623. 'netrom mycall <nrcall>'   (or 'ifconfig netrom linkaddress yourcall')
  3624. This is the call used in netrom route broadcasts !
  3625.  
  3626. Netrom alias setting:
  3627. Either the 'old' way can be used:
  3628. netrom interface <label> <alias> <pathqualilty>
  3629. or the alias can be set with 'netrom alias <myalias>'.
  3630.  
  3631. If 'netrom alias' has not been set when the old 'netrom interface' command
  3632. is given, the alias will be taken from this.
  3633. If 'netrom alias' has been set, the 'netrom interface' alias is ignored.
  3634. If the alias is set with the 'netrom interface' command, later
  3635. 'netrom alias' commands will override the alias !
  3636.  
  3637. Thus there is only ONE alias for the system
  3638. This alias is used for ALL active netrom interfaces, wether you set
  3639. different aliases in the 'netrom interface' commands or not !
  3640.  
  3641. This alias is also used in netrom route broadcasts.
  3642. (
  3643. The 'netrom interface' commands doesn't need the alias in it anymore
  3644. You can use a simlified version of the netrom interface command:
  3645. 'netrom interface <ifname> <quality>'
  3646. )
  3647.  
  3648. Connects (and digi's) to this netrom call and to the alias (with ANY ssid)
  3649. are accepted.
  3650.  
  3651. If not running netrom, you can still set the netrom alias, and thus
  3652. allow connections to the alias...
  3653. (digipeating also works then, with any ssid)
  3654.  
  3655. SOME EXAMPLES:
  3656. ******
  3657. eg. 1
  3658. if you have the following configured :
  3659.  
  3660. netrom mycall WG7J-11
  3661. netrom alias WGJBOX
  3662. netrom interface ax0 192     #assuming ax0 and ax1 are valid interfaces
  3663. netrom interface ax1 191
  3664.  
  3665. then netrom broadcasts on both ax0 and ax1 will announce you as WGJBOX:WG7J-11
  3666. users can connect (or digi's via (if enabled)) WG7J-11, WGJBOX-x, where x=0-15
  3667. Connects to the regular ax25 mycall, or other valid interface calls
  3668. set with ifconfig are accepted as well.
  3669. ******
  3670. eg. 2
  3671. if you don't run netrom but still want an alias for your system
  3672. (and netrom-support is compiled in your executable :-))
  3673. then simply set the alias:
  3674.  
  3675. netrom alias WGJBOX
  3676.  
  3677. This allows connections and digi's (if enabled) to WGJBOX-x, where x=0-15
  3678. Connects to the regular ax25 mycall, or other valid interface calls
  3679. set with ifconfig are accepted as well.
  3680. ******
  3681.  
  3682. -LOTS of MAILBOX changes:
  3683.  
  3684. - mailbox outgoing connects use the user call !
  3685.   If a user logs in over telnet, the login name will be used as call,
  3686.   if:
  3687.   A -  there is at least 1 digit (0-9) in the name
  3688.   B -  the name can successfully be set to a call
  3689.     (ie, 'anonymous' won't work !)
  3690.   If the above 2 rules don't work, ax.25 and netrom permission are
  3691.   denied, no matter what they we're set to in ftpusers
  3692.   Be careful, this still allow someone with '4us' as login and
  3693.   permissions set, to go out on ax.25 or netrom with call '4us-15' !!
  3694.  
  3695.  
  3696. JUMPSTART:
  3697. The mailbox is jump-started when:
  3698. the remote address connecting to us is not a known netrom neighbour and
  3699. the interface mode is not VC. If both these are true, it is assume to be
  3700. a user connecting to the mailbox, and the mailbox is jump-started
  3701. upon the SABM frame is received and answered. Thus NO ADDITIONAL cr or whatever
  3702. is needed to trigger the mailbox...
  3703.  
  3704. In Yeoman's terms: regular users get the prompt IMMEDIATELY upon connecting!!
  3705.  
  3706. The above is on by default, but can be changed (ie. turned off) with
  3707. 'mbox jumpstart on/off' (default: ON)
  3708.  
  3709. MAILBOX PROMPT:
  3710. 'mbox expert on/off'  (default: OFF)
  3711. Start user in Expert mode; ie short prompt. This can be toggled from
  3712. the mailbox with the (X)pert command.
  3713.  
  3714. 'mbox nrid on/off'    (default: OFF)
  3715. If on, the prompt is 'ALIAS:CALL} ' followed by the whole list of
  3716. commands when not in expert mode.
  3717. If off, the prompt is as normal in none-expert mode, and '> ' in
  3718. expert mode. BBS prompt is unchanged.
  3719.  
  3720. Thus,
  3721. With nrid OFF and expert OFF, the system looks like 'normal':
  3722. Msg #0: A,B,.....,Z,?>
  3723.  
  3724. With nrid OFF and expert ON, you get a short prompt :
  3725. >
  3726.  
  3727. With nrid ON and expert ON, it looks like a 'standard netrom' switch:
  3728. WGJBOX:WG7J-11}
  3729.  
  3730. With nrid ON and expert OFF, it looks like :
  3731. WGJBOX:WG7J-11} Msg #0: A,B,.....,Z,?>
  3732.  
  3733. USER COMMAND-CHANGES
  3734. No separate pseudo-netrom interface (the old N command) exists anymore.
  3735. (N)odes has taken its place, giving the regular list of nodes
  3736.  
  3737. New mailbox user commands are:
  3738. (X)pert: toggle expert status
  3739. (P)orts: gives port/interface description
  3740. (N) nodename : gives more descriptive information
  3741. (U)sers: shows all users and outbound link with type (ie. telnet,netrom,ax25)
  3742.     (the Upload command has been sarificed for this, since no-one around here
  3743.      uses that)
  3744. (C)onnect:
  3745. 'c' is the old chat with sysop.
  3746. 'c name' is a netrom connect, accepting BOTH ALIAS and CALL. Gives error
  3747.          and help if name isn't either one.
  3748. 'c port call' is an ax25 connect. Uses the USER's call with inverted SSID !
  3749.         gives help on error.
  3750.  
  3751.  
  3752. -KEYBOARD LOCKING
  3753. 'lock password <your unlock password>' sets the password
  3754. typing this DOES NOT clear the screen, so set it in the autoexec file
  3755. or type lots of CR's to clear the screen after this
  3756. then typing 'lock' will disable any command from being executed
  3757. until the password is type. During this input echoing is disabled,
  3758. so that your password will not be echoed to the console.
  3759. This only works form the keyboard, so that remote sysops cannot lock you
  3760. out !
  3761.  
  3762. -MINOR COSMETIC CHANGES:
  3763.  
  3764. -'ifconfig <iface> description "your description"'
  3765. This shows up in the new (P)orts command in the mailbox,
  3766. as well as the ifconfig list
  3767.  
  3768. - G4JEC's ax.25 ip autoroute code is added.
  3769.   This code automatically adds a temporary ip route to the target
  3770.   (if none exists) when ip packets are received.
  3771.   Configurable with:
  3772.   'autoroute on/off'. (default: OFF)
  3773.  
  3774.   As suggested by Mike Billow, this only works when RSPF is not active.
  3775.   Attaching the first rspf interface automatically turns it off, and
  3776.   autoroute can not be turned on anymore after that.
  3777.  
  3778. -mailbox sysop (@) is protected against 'exit'. This now simply returns
  3779.  you to the mailbox, instead of exiting net.exe!
  3780.  
  3781. -kiss attach checks for asy interface type (such that you cannot attach
  3782.  kiss ontop of the netrom interface etc.)
  3783.  
  3784. -mbuf.c interrupt allocation fixed per hb9rwm
  3785.  
  3786.  
  3787.